Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CakePHP fatal error: Class 'ErrorHandler' not found

I've generated testsuits via "cake bake testsuit" and used localhost/test.php for my app. So, the is an error when I tried to run one of test (else tests are valid):

Fatal error: Class 'ErrorHandler' not found in Z:\home\prodvigator\www\cake\libs\object.php on line 201
This models and controllers are generated by scaffold and I don't think that an error is in this sources.

Using: CakePHP 1.3 The latest SimpleTest

like image 917
Clark Avatar asked Oct 14 '25 14:10

Clark


1 Answers

In my case, deleting all the files in the folder /app/tmp/cache/persistent solved the problem.

like image 91
jewelnguyen8 Avatar answered Oct 17 '25 13:10

jewelnguyen8