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
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