We just moved http://www.widescreengamingforum.com to a new server. The new server is php Version Version: 5.3.3-7+squeeze1 (debian), while the old one was php Version 5.2.4-2ubuntu5.17. Prior to this move, the emails from cron were "clean" with no errors.
Since the move it's filled with errors. One of the errors is:
WD php: Notice: Constant LINODEF_BUILDMODE already defined in [error]
linodef_filter() (line 59 of
/var/www/vhosts/widescreengamingforum.com/httpdocs/sites/all/modules/linodef/linodef.module).
In the last email I received, It is repeated 6720 times. Linodef is still working, but seeing the error worries me, and it's contributing to 5MB cron reports being generated every 20 minutes.
Any ideas what is causing this, and how to fix it?
Comments
Comment #1
mrfelton commentedI don't see any need for the usage of a constant here at all. I have replaced with a static variable.
Comment #2
mrfelton commentedMay have been wrong about that, but this one stops the double declaration at least.