CakePHP-Facebook-Plugin icon indicating copy to clipboard operation
CakePHP-Facebook-Plugin copied to clipboard

Problems with PHP 5.4 and Cakephp 2.x

Open asmerkin opened this issue 13 years ago • 3 comments

Fatal error: Class 'Debugger' not found in ../app/Plugin/Facebook/Controller/Component/ConnectComponent.php on line 250

It seems to be a problem with PHP 5.4

http://cakephp.1045679.n5.nabble.com/Debugger-Class-not-found-CakePHP-2-1-PHP-5-4-td5582296.html#d1332513204000-993

asmerkin avatar Jun 13 '12 00:06 asmerkin

got the same issue

davesherratt avatar Jul 03 '12 16:07 davesherratt

Change the level error of your core.php in your app from 'level' => E_ALL & ~E_DEPRECATED, to 'level' => E_ALL & ~E_DEPRECATED & ~E_STRICT,

vhtellez avatar Jul 03 '12 18:07 vhtellez

Had the same error, but the missing class was 'String', and was triggered when i put a beforeSave.

vhtellez solution worked. Thanks.

zavan avatar Jul 10 '12 13:07 zavan