[Typo3-shop] wrong parameters and fatal errors

JoH info at cybercraft.de
Wed Oct 5 12:21:10 CEST 2005


> The Problem with single view is solved.
>
> But i still have this fatal error if i put something in my basket:
>
> Fatal error: Call to undefined function: () in
>
/srv/www/htdocs/typo3_src-3.8.0/typo3/ext/tt_products/lib/class.tx_ttproduct
s_basket_div.php
> on line 428
>
> can anyone help me withthat?

Seems to be a bug.
There is $this-> after the :: which is definitely wrong here.

Replace line 428
$content = $this->cObj->substituteMarkerArray($content,
tx_ttproducts_basket_div::$this->addURLMarkers(array()));

with this code:
$content = $this->cObj->substituteMarkerArray($content,
tx_ttproducts_basket_div::addURLMarkers(array()));

Works fine for me.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-project-tt-products mailing list