VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: pm4698 on December 08, 2016, 16:49:02 PM

Title: Fatal error to category layout after upgrade
Post by: pm4698 on December 08, 2016, 16:49:02 PM
Hello there,

Joomla 3.6.4, Virtuemart 3.0.18.5

I had a quickstart installed with vm3.0.18 and i upgraded to 3.0.18.5 ( i had to upgrade due to customer request so i have to use this final version no matter what!)

After this in category page i have this fatal error:

Fatal error: Call to a member function displayMediaThumb() on a non-object in /home/../..//templates/mytemplate/html/com_virtuemart/category/default.php on line 241
At this line i have this:
echo $product->images[0]->displayMediaThumb ('class="browseProductImage" border="0" title="' . $product->product_name . '" ', FALSE, 'class="modal"');

Any ideas of this fatal error? I searched the forum but i found some answer for VM2 and tried but did nothing at all.

Thank you in advance
Title: Re: Fatal error to category layout after upgrade
Post by: jenkinhill on December 08, 2016, 17:00:58 PM
Your template overrides need updating.  http://forum.virtuemart.net/index.php?topic=136152
and  http://forum.virtuemart.net/index.php?topic=135628.msg474433#msg474433 and subsequent posts