PHP Fatal error: Non-static method isys_component…
-
Ich versuche i-doit 0.98 auf einem CentOS mit PHP 5.3 zum laufen zu bringen. Setup ist problemlos durchgelaufen, danach bin ich mit dem schon hinlänglich dokumentierten 'Weissen Bildschirm' konfrontiert (keine Hinweise in den Logs etc.). Die in den entsprechenden Threads aufgelisteten Tipps haben bisher nichts gebracht.
Wenn ich allerdings den einen Cron Job auf der Kommandozeile laufen lassen, dann erhalte ich folgendes:
Job:
./controller -v -m workflowFehler:
PHP Fatal error: Non-static method isys_component::__construct() cannot be called statically, assuming $this from incompatible context in /var/www/idoit/src/classes/components/isys_component_template.class.php on line 673Kann jemand helfen?
Besten Dank!
-
Hi,
das scheint ein PHP 5.3.0 problem zu sein.
Versuch mal in der angegebenen Datei die Zeile 673 mit folgendem Code auszutauschen:parent::__construct($this);
-
Hat perfekt funktioniert, besten Dank!
Bis anhin habe ich keine weiteren Probleme mit PHP 5.3 feststellen können.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login