Published by Rolf on 05 Feb 2010 at 12:28 am
Warnings when upgrading a CakePHP application to PHP 5.3
If you’re moving to PHP 5.3, you’ll find that CakePHP throws a lot of “Deprecated” warnings. Since Cake sets error_reporting to E_ALL, you’ll have to edit the core. Change cake/libs/configure.php as follows:
error_reporting(E_ALL);
to
error_reporting(E_ALL ^ E_DEPRECATED);
That should do it.