Jump to content

Edit History

corrigerunbug

corrigerunbug

On 10/15/2021 at 1:33 PM, DarrenJ said:

this issue still persists.

i have latest PS 1.7.8

i have PS google analytics 4.1.0

I use php7.4

and i get error:

at HookDisplayFooter->run()in ps_googleanalytics.php line 113

if i disable the module it works, enable it and site is broken

Check this fix : https://github.com/PrestaShop/ps_googleanalytics/pull/107/files

Replace this line 90 in file /ps_googleanalytics/classes/Hook/HookDisplayFooter.php

$products = $productWrapper->wrapProductList($listing['products'], [], true);

to 

$products = $productWrapper->wrapProductList(isset($listing['products']) ? $listing['products'] : [], [], true);

 

corrigerunbug

corrigerunbug

On 10/15/2021 at 1:33 PM, DarrenJ said:

this issue still persists.

i have latest PS 1.7.8

i have PS google analytics 4.1.0

I use php7.4

and i get error:

at HookDisplayFooter->run()in ps_googleanalytics.php line 113

if i disable the module it works, enable it and site is broken

Check this fix : https://github.com/PrestaShop/ps_googleanalytics/pull/107/files

Replace this line 90 in file /ps_googleanalytics/classes/Hook/HookDisplayFooter.php

- $products = $productWrapper->wrapProductList($listing['products'], [], true);

by this 

- $products = $productWrapper->wrapProductList(isset($listing['products']) ? $listing['products'] : [], [], true);

×
×
  • Create New...