-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.5
Hello,
after updating to Joomla 4 I get an error from an override you proposed some time ago for Google products plugin:
An error has occurred.
0 Call to a member function getThumbnail() on null
The change is on line 436, of the plugin's PHP file.
The altered code is:
$img_thumb = $imageHelper->getThumbnail($image->file_path, array(500, 500), array('default' => true));
$xml .= "\t".'<g:'.$name.'>'.htmlspecialchars($img_thumb->url).'</g:'.$name.'>'."\n";
What change needs to be done?
For reference, this is the URL of the related topic:
www.hikashop.com/forum/development/90069...le-products-xml.html
Thank you,
Yannis