Strict Standards: Non-static method JLoader::import() should not be called statically in D:\dev_data\iwmgmt\libraries\joomla\import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\dev_data\iwmgmt\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::import() should not be called statically in D:\dev_data\iwmgmt\libraries\joomla\import.php on line 32
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\dev_data\iwmgmt\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::load() should not be called statically in D:\dev_data\iwmgmt\libraries\loader.php on line 161
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\dev_data\iwmgmt\libraries\loader.php on line 138
Strict Standards: Non-static method JRequest::clean() should not be called statically in D:\dev_data\iwmgmt\libraries\joomla\import.php on line 33
百思不得其解,问谷歌,得到答案:
原来是php.ini中有如下设置:
error_reporting = E_ALL | E_STRICT
这是说,显示那些不符合编码规范的警告(coding standards warnings)。
Joomla其实是建议取消error的输出,如果出于调试需要,应改为
error_reporting = E_ALL & ~E_NOTICE
问题得到解决。回想一下,确实是重新安装xampp后报的错。