Zum Inhalt springen

auf einmal Fehlermeldung im Shop!

Erstellt am 22. Juli 2003 · 1 Antwort · letzte Antwort am 23. Juli 2003

Tags: PHP, Frage

User ·

Hallo! Habe folgendes Problem und bräuchte mal Rat. Ich habe das Shop System installiert und es lief auch kurz. doch neuerdings bekomme ich diese Meldung überall da wo ich mir Produkte aulisten lassen will.

Warning: ksort() expects parameter 1 to be array, null given in /www/htdocs/spacy/diplo/typo3/ext/tt_products/pi/class.tx_ttproducts.php on line 655

Warning: Variable passed to reset() is not an array or object in /www/htdocs/spacy/diplo/typo3/ext/tt_products/pi/class.tx_ttproducts.php on line 656 #paralyzed#

ziererk ·

Scheinbar hast du eine andere Version als ich, aber etwas weiter oben hab ich die ksort-Zeile gefunden. Bei mir in Zeile 643.
ksort($this->conf["shipping."]);
reset($this->conf["shipping."]);

Weiter unten steht noch:
ksort($this->conf["payment."]);
reset($this->conf["payment."]);

Du solltest mal prüfen, was du in diesen Bereichen für Einstellungen im Template gesetzt hast. Wahrscheinlich ist da was verkehrt.

Schau mal, ob du irgendwo plugin.tt_products.payment oder plugin.tt_products.shipping direkt zugewiesen hast. Sollte eigentlich ein Array sein.

Grüße,
Klaus