Originally Posted by
Bruce1952
Hi All,
Back again with another question that I need to sort out please.
In the Order Details I have a button at the bottom of the page which is EDIT (I assume that it should be so I can edit the order) and when pressing it I get this error message:
Warning: Undefined variable $language_info in /home/xxxx/outdoorking.com.au/includes/extra_configures/enable_error_logging.php on line 88
This is what is in the file from line 84 to 94
if(isset($_SESSION['languages_id']))
{
$language_info = ', Language id ' . $_SESSION['languages_id'];
}
$message = date('[d-M-Y H:i:s e]') . ' Request URI: ' . ($_SERVER['REQUEST_URI'] ?? 'not set') . ', IP address: ' . ($_SERVER['REMOTE_ADDR'] ?? 'not set') . $language_info . $backtrace;
$message .= PHP_EOL . "--> PHP $error_type: $errstr in $errfile on line $errline.";
error_log($message . PHP_EOL . PHP_EOL, 3, $GLOBALS['debug_logfile_path']);
return true; //-Indicate that we've handled this error-type.
Any help would be appreciated to sort this one out would be great.