webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

Problems with PHP 5.4 and Cakephp 2.x #78

Open asmerkin opened 12 years ago

asmerkin commented 12 years ago

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

davesherratt commented 12 years ago

got the same issue

vhtellez commented 12 years ago

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,

zavan commented 12 years ago

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

vhtellez solution worked. Thanks.