Hello,
My webserver was upgraded to PHP 4.4.0 today and I started getting these notices in the logs. Is there anything I could do about these messages?
Thanks
-John
======================================================================
Aug 23 14:20:19 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/ObjectCache.php on line 369 Aug 23 14:20:19 httpd: PHP Notice: Only variables should be assigned by\ reference in /home/bankstown/html/en/includes/Parser.php on\ line 1225 Aug 23 14:20:19 httpd: PHP Notice: Only variables should be assigned by\ reference in /home/bankstown/html/en/includes/Parser.php on\ line 1045 Aug 23 14:20:19 httpd: PHP Notice: Only variables should be assigned by\ reference in /home/bankstown/html/en/includes/Parser.php on\ line 1140 Aug 23 14:20:19 httpd: PHP Notice: Only variables should be assigned by\ reference in /home/bankstown/html/en/includes/Parser.php on\ line 2540 Aug 23 14:20:19 httpd: PHP Notice: Only variables should be assigned by\ reference in /home/bankstown/html/en/includes/Parser.php on\ line 796 Aug 23 14:20:19 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/ObjectCache.php on line 369 *2 Aug 23 14:40:16 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/Namespace.php\ on line 136 *2 Aug 23 14:40:17 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/ObjectCache.php on line 369 *2 Aug 23 14:40:17 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/SkinTemplate.php on line 136 Aug 23 14:40:17 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/ObjectCache.php on line 369 *2 Aug 23 14:40:17 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/Namespace.php\ on line 136 Aug 23 14:40:17 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/SkinTemplate.php on line 136 Aug 23 14:40:17 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/Namespace.php\ on line 136 Aug 23 14:40:20 httpd: PHP Notice: Only variable references should be returned\ by reference in /home/bankstown/html/en/includes/ObjectCache.php on line 369 *2
John Ky wrote:
My webserver was upgraded to PHP 4.4.0 today and I started getting these notices in the logs. Is there anything I could do about these messages?
You can do one of the following to make these go away: * Downgrade PHP to 4.3.11 * Upgrade PHP to 5.0.4 * Upgrade MediaWiki to 1.5 * Turn off logging of notices.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org