I've just upgraded PHP to 5.3.0 on my development server and found all of my Cake sites have about 20 warning messages starting with "Deprecated: Assigning the return value of new by reference is deprecated...". Changes to the error_reporting configuration in php.ini could not get rid of them. With cake debug level at 1 or higher, the only fix I've been able to come up with is bad as it requires a (tiny) change to core file cake/libs/configure.php. Changing line 295 from error_reporting(E_ALL); to error_reporting (E_ALL ^ E_DEPRECATED); and then adding error_reporting(E_ALL ^ E_DEPRECATED); to the top of app/webroot/index.php removes all of the warnings. Does anyone have a better solution?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
