Currently using a large platform in PHP.
The server it\'s hosted on has recently been upgraded to PHP 5.4.
Since, I\'ve received many error messages like:
I don't suggest you just hidding the stricts errors on your project. Intead, you should turn your method to static or try to creat a new instance of the object:
$var = new YourClass();
$var->method();
You can also use the new way to do the same since PHP 5.4:
(new YourClass)->method();
I hope it helps you!