Wednesday, 31 August 2022
  1 Replies
  516 Visits
0
Votes
Undo
Hi
PHP 8 does not like the get_magic_quotes_gpc() instruction, and thus the site becomes not accessible.
While searching for all instances of that command, I found one in the file gwejson.php.
Am I the only one to have such problem?
Is it safe to just remove the whole block
if (ini_get("magic_quotes_gpc";))
{
$requestData = stripslashes($requestData);
}

$requestObject = json_decode($requestData, 0);
if (!$requestObject)
{
$requestObject = json_decode(utf8_encode($requestData), 0);
}
from line 197 to 206?

Thanks to advise.
Rgds, Franco
2 years ago
·
#227730
0
Votes
Undo
Sorry for the VERY delayed response - your post was stuck in the moderation queue for some reason :(

That line of code should not throw any errors as its only checking for an ini setting

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.