Zum Hauptinhalt springen
Blog & News

Aktuelles & Updates von
Joomla, Wordpress und Co.

News, HowTos und Tutorials rund um Webdesign, Webentwicklung, Webhosting und Digitalisierung.

Blog & News

Joomla Error - Strict Standards: Non-static method JLoader

06.04.2013 · 2 Min Lesezeit

Nach dem kopieren von Joomla zu einer lokalen XAMPP Installation 1.8.1 tauchen folgende Fehler auf und Joomla startet nicht:

Strict Standards: Non-static method JLoader::import() should not be called statically in ~\joomla\import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in ~\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::import() should not be called statically in ~\joomla\import.php on line 32
Strict Standards: Non-static method JLoader::register() should not be called statically in ~\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::load() should not be called statically in ~\libraries\loader.php on line 161
Strict Standards: Non-static method JLoader::register() should not be called statically in ~\libraries\loader.php on line 138
Strict Standards: Non-static method JRequest::clean() should not be called statically in ~\libraries\joomla\import.php on line 33
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in ~\libraries\joomla\environment\request.php on line 463
Warning: Cannot modify header information - headers already sent by (output started at ~\libraries\loader.php:138) in ~\libraries\joomla\factory.php on line 566

 

Eine Lösung für das Problem ist in der php.ini die folgenden Einstellungen zu ändern:

error_reporting = E_ALL | E_STRICT

zu

error_reporting = E_ALL & ~E_STRICT

und

display_errors = On

zu

display_errors = Off

Ab und an reicht es auch zu wenn man in der configuration.php im Joomla Root Ordner folgende Zeilen ändert:

var $error_reporting = '-1′;

zu

var $error_reporting = '6135′;

Zurück zur Übersicht