Deprecated: Non-static method

Permalink
Hello

PHP 5.6.27 I have below error but same working in PHP Version 5.4.16

Problem is here : Loader::helper('navigation'); I am declaring function like this

Deprecated: Non-static method Concrete5_Library_Loader::helper() should not be called statically, assuming $this from incompatible context in dashboard/clubfit/settings/controller.php on line 11

Deprecated: Non-static method Concrete5_Library_Object::camelcase() should not be called statically, assuming $this from incompatible context incore/libraries/loader.php on line 286

Deprecated: Non-static method Concrete5_Library_Object::camelcase() should not be called statically, assuming $this from incompatible context in core/libraries/loader.php on line 287

Deprecated: Non-static method Concrete5_Library_Loader::model() should not be called statically, assuming $this from incompatible context in settings/controller.php on line 12

Deprecated: Non-static method Concrete5_Library_Loader::legacyModel() should not be called statically, assuming $this from incompatible context in /core/libraries/loader.php on line 46

2excel
 
hutman replied on at Permalink Reply
hutman
Some of the older versions of C5 aren't compatible with PHP 5.6, what version is your site?
2excel replied on at Permalink Reply
2excel
5.6.2.1
mlocati replied on at Permalink Reply
mlocati
You should really consider to upgrade it: 5.6.2.1 is four years old...
bijayrukin replied on at Permalink Reply
mine is concrete5.6.3.4 but still not working