Hi,
What is the error message you are seeing, and what emits it?
David
Hi, thanks for getting back to me. Error message in log files:
PHP Notice: Undefined index: pagenow
Environment is Ubuntu 16.04 with PHP 7.0.x and latest Nginx.
I’ve tested the code change suggested: it’s working and there’s no more error message.
Hi,
Making random changes just to make notices (it is a notice, not an error) go away isn’t in itself a worthwhile action. The question is, why for your setup is the value of $GLOBALS['pagenow'] different to the value of $pagenow after doing global $pagenow, since both should be identical (accessing the values of pagenow from the global scope) – http://php.net/manual/en/reserved.variables.globals.php.
David
Hi,
I’ve got to the bottom of this now, via a separate report. Thank you. It is resolved in version 1.3.12.
Many thanks,
David