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:

  1. redefining defined constructor class object in /home/eslwow87/public_html/cake/libs/object.php on line 54
  2. non-static method configure::getinstance() should not called statically in /home/eslwow87/public_html/cake/bootstrap.php on line 38
  3. 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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -