Can anyone help me with this error?
Notice: Array to string conversion in /home/domain/templates/template name/html/com_virtuemart/productdetails/default.php on line 117
Array
And this
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/domain/templates/template name/html/com_virtuemart/category/default.php on line 190
Joomla! 3.9.13 Stable 5-November-2019 15:00 GMT
virtuemart.3.4.5.10040
as its your template how would we know whats on line 117?
line 117 : echo $productDisplayShipment . '<br />';
}
Code 115-119 :
if (is_array($this->productDisplayShipments)) {
foreach ($this->productDisplayShipments as $productDisplayShipment) {
echo $productDisplayShipment . '<br />';
}
}
(category/default.php on line 190)
this is solved when I change the php variant from 7.3 or 7.2 to 7.1
we need to see what the line 117 is on your template php
php version: of course .. its a compatibility warning
*
if u don't use the display of shipping in the product details just comment this stuff out
otherwise look at the latest VM install prod details template and copy the code
or read this FAQ about this part http://forum.virtuemart.net/index.php?topic=140113.0