Jump to content

Google Analytics crée des bugs


Recommended Posts

Bonjour à tous

Je suis sur PS v1.7.4.2

J'ai activé le module gratuit proposé par Prestashop pour insérer mon ID Google Analytics. La config semble ok. Toutes les pages fonctionnent mais quand je me rends sur n'importe quelle page de produits j'ai une page d'erreur avec entête rouge. Et il est clairement indiqué que l'erreur provient du fichier ganalytics.php

(1/1) ContextErrorException

Notice: A non well formed numeric value encountered

in ganalytics.php line 539

at Ganalytics->wrapProduct(array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => 'Storm Rider', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '9', 'id_tax_rules_group' => '1', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => array('value' => '0,00 €', 'amount' => 0.0, 'rate' => 0.0), 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => '195,00 €', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '404', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => null, 'show_condition' => '0', 'condition' => false, 'show_price' => true, 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '1519', 'advanced_stock_management' => '0', 'date_add' => '2018-09-20 21:34:54', 'date_upd' => '2018-11-21 15:07:57', 'pack_stock_type' => '0', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'mhc-limited-edition', 'name' => 'Storm Rider', 'description' => '<p>Bracelet Bootleggers Storm Rider. Argent massif 925 / 925 millièmes d\'argent par gramme.</p><p>Poids : 73gr</p>', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id' => 338, 'id_product' => 338, 'out_of_stock' => 0, 'new' => 0, 'id_product_attribute' => 1519, 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => true, 'category' => 'silver', 'category_name' => 'Silver', 'link' => 'https://www.bootleggers-wild-turquoise.com/fr/silver/338-mhc-limited-edition.html', 'attribute_price' => 0.0, 'price_tax_exc' => 195.0, 'price_without_reduction' => 195.0, 'reduction' => 0.0, 'specific_prices' => array('id_specific_price' => '315', 'id_specific_price_rule' => '0', 'id_cart' => '0', 'id_product' => '338', 'id_shop' => '1', 'id_shop_group' => '0', 'id_currency' => '0', 'id_country' => '0', 'id_group' => '4', 'id_customer' => '0', 'id_product_attribute' => '0', 'price' => 195.0, 'from_quantity' => '1', 'reduction' => '0.000000', 

etc...

 

Merci pour votre aide et éclaircissements...

Cordialement

Miran

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...