What is the maximum version of PHP that cakephp version 1.3.7 will work with? -
i have moodle course uses cake 1.3.7 has started generating errors.
these 3 come up:
- redefining defined constructor class object in /home/eslwow87/public_html/cake/libs/object.php on line 54
- non-static method configure::getinstance() should not called statically in /home/eslwow87/public_html/cake/bootstrap.php on line 38
- non-static method cakelog::handleerror() should not called statically in /home/eslwow87/public_html/cake/libs/cake_log.php on line 290
i guessing these caused mis-match between cake , version of php running on server (5.3.29). guess correct?
you can open file config/core.php
, change error_reporting this:
configure::write('error', array( 'handler' => 'errorhandler::handleerror', 'level' => e_all & ~e_deprecated & ~e_strict, 'trace' => true ));
or alternatively upgrade newer 1.3.x version fix these errors instead of suppress them, i'm not sure download git archives 1.3 empty.
this answer combination of me copying , pasting other answers similar questions had of same error(s) you.
Comments
Post a Comment