DaveBr Posted April 23, 2014 Share Posted April 23, 2014 I've got a problem today in 1.5.4.0 which may be related to updating some modules. But I'm not 100% sure. Front page of the site works fine, search works, add to cart from carousels & cart works fine, but all product pages appear blank. Debugging gives this error. Fatal error: Call to undefined method ProductController::getProduct() in /home/sites/sitedomain.co.uk/public_html/shop/modules/productcomments/productcomments.php on line 810 Line 810 in product comments.php is $product = $this->context->controller->getProduct(); $image = Product::getCover((int)Tools::getValue('id_product')); $cover_image = $this->context->link->getImageLink($product->link_rewrite, $image['id_image'], 'medium_default'); Which isn't giving me much of a clue as to what's wrong. Configuration Information turned up a bunch of missing files, which have been replaced from a backup, but still no joy. Any suggestions what to try gratefully received. Link to comment Share on other sites More sharing options...
vekia Posted April 23, 2014 Share Posted April 23, 2014 check this topic: http://www.prestashop.com/forums/topic/317315-updated-08-04-2014-new-suggested-modules-updates-for-15xx-are-broken/ i think that it can be related to this. reupload original product comments module. 2 Link to comment Share on other sites More sharing options...
DaveBr Posted April 23, 2014 Author Share Posted April 23, 2014 Thank you. There's something definately incompatible with the 3.3.4 version of product comments & 1.5.4.0. I've disabled it for now & the product pages are working again. I'll work out how to get hold of a working version tomorrow. Thanks again. 1 Link to comment Share on other sites More sharing options...
stephen71 Posted April 28, 2014 Share Posted April 28, 2014 Thanks guys. I had the same problem after upgrading a few of my modules (running 1.5.4.1) . I have disabled the product comments module and everything is back up and running. Stephen Link to comment Share on other sites More sharing options...
duo hart Posted May 1, 2014 Share Posted May 1, 2014 Thanks Bro,,,,,, I had the same problem after upgrading a few of my modules (running 1.5.4.1) (y) and now running normally.. Thanks. Duo Hart Link to comment Share on other sites More sharing options...
Recommended Posts