I'm running Ubuntu + PHP 5.4 and got such error:
Strict Standards: Non-static method XTemplate::I() should not be called statically, assuming $this from incompatible context in ... on line 339
And that method looks like this:
interface ITemplate
{
public function I();
}
class XTemplate implements ITemplate
{
public function I()
{
...
}
}
And this code is running normal on Windows 7 in XAMPP. I have found only advices to turn off error_reporing, but I need to solve it. Do I need to install some modules on turn on some other settings in php.ini ?