I have found out now that the PHP behaviour seems to be odd. For some reason the $_SERVER variable is Null. If I put an
$any_variable_name_that_you_dont_need = $_SERVER;
at the begin of the script $_SERVER is set and the warning doesn't apprear anymore.

Anyone else noted this?

Robert




Am 07.11.2012 12:51, schrieb Robert Schneider:
Hi,

I just have switched PHP from 5.3.18 to 5.4.8 and now I get this warning:

log4php: LoggerPatternConverterServer: Cannot find superglobal variable
$_SERVER. in
/home/fa008rz5/www/home/rsn/log4php/src/pattern/LoggerPatternConverterSuperglobal.php
on line *76

What should I now? Or what have I done wrong?

Regards,
Robert


Reply via email to