Jump to content

Ganalytics and comparision product problem


albarelys

Recommended Posts

Hi guys I have a problem with the module ganalytics and compare products on the site
  When getting the comparison of the goods I get a blank page, checking the error response is as follows  : 
 
Fatal error: Cannot use object of type Product as array in /var/www/vhosts/hardware-planet.it/httpdocs/modules/ganalytics/ganalytics.php on line 379
 
linea 379             if (!isset($product['price']))
linea 380             $product['price'] = (float)Tools::displayPrice(Product::getPriceStatic((int)$product['id_product'], $usetax), $currency);
 
linea 381     $result_products[] = $this->wrapProduct($product, $extras, $index, $full);
 
  Can you give me a straight
  in ganalytics php error is in this line
 
If off the module google analytics comparator works perfectly
 
 
help please 
 
prestashop version is 1.6.0.11

 

 

 

 

 

 

 

 

 

 

 

 

Fatal error: Cannot use object of type Product as array in /var/www/vhosts/hardware-planet.it/httpdocs/modules/ganalytics/ganalytics.php on line 379

Edited by albarelys (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...