Cakephp 1.3 and php 5.4
A quick notice how to disable the errors that appear after upgrading the php to 5.4 which is by the way a lot faster than ever before.
cake/bootstrap.php
replace:
error_reporting(E_ALL & ~E_DEPRECATED);
with
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
cake/libs/debugger.php
after:
$files = $this->trace(array('start' => 2, 'format' => 'points'));
add
if(!isset($files[0]['file'])) return;