News:

Support the VirtueMart project and become a member

Main Menu

Fatal error to category layout after upgrade

Started by pm4698, December 08, 2016, 16:49:02 PM

Previous topic - Next topic

pm4698

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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum