我最近对PHP 5.4进行了更新,我收到有关静态和非静态代码的错误.
这是错误:
PHP Strict Standards: Non-static method VTimer::get()
should not be called statically in /home/jaco/public_html/include/function_smarty.php on line 371
Run Code Online (Sandbox Code Playgroud)
这是第371行:
$timer = VTimer::get($options['magic']);
Run Code Online (Sandbox Code Playgroud)
我希望有人可以提供帮助.