Hi,
I purchased and installed VM2hits. It works well on the Product Details/Description page, but it is now showing up on the Geommunity map module. E.g., do a search for "Product2" on the Geommunity map module, and click on the marker to see the details. The "hits" value is blank instead of an integer number that is displayed on Product2's details/description section. Any suggestion how to fix this?
About virtuemart breaking down after a new product is added via vmvendor add-product page, I tried adding a new product (Product4) through vmvendor add-product frontend. Opening the product details page breaks Virtuemart:
andkit01.com/en/category1/1242-product41242-detail
I looked into error_log.txt file in /public_html/administrator/, and found the following error:
PHP Warning: Invalid argument supplied for foreach() in /.../public_html/administrator/components/com_virtuemart/models/customfields.php on line 1015
line 1015: foreach($datas as $key => $fields){
(see attached the customfields.php file, renamed to .txt). Could it be that an invalid custom field name is supplied on the product created through vmvendor add-product? E.g., the custom field name (created on virtuemart backend) is "Coordinates", and the vmvendor custom field name is different?
Also, check this out: Go to
andkit01.com/en/category1/1242-product41242-detail
Then use Inspect (e.g., on chrome). Then there is this error:
Uncaught SyntaxError: 1242-product41242-detail:159 Unexpected token ,
Any idea what could be the problem? This error (unexpected token, page not loading) only occurs for product4, which is added through vmvendor frontend. For the other products, which were added through vm backend, no "unexpected token" error, and the page loads okay.
I looked into the past topics, it seems that this error had occurred before as well:
www.nordmograph.com/extensions/index.php...d=15816&limitstart=0
But towards the end it's written in French and I unfortunately don't speak French
Not sure what was the solution to the problem?
Thanks