Issue
I try run this project, but I get an error:
Fatal error: Class 'CakeNumber' not found in /opt/lampp/htdocs/cakephp-2.3.10/app/Controller/AppController.php on line 76
I put
App::uses 'CakeNumber';
but this doesn't work
Solution
You need to import this Helper like this:
App::uses('CakeNumber', 'Utility');
https://book.cakephp.org/2.0/en/core-utility-libraries/number.html
Answered By - SamHecquet
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.