Seems that the 2.0.2 with PS 1.7.6.5 have some trouble to get visitors stats firing on error_log_php this type of error:
[01-Jun-2020 02:32:03 Europe/Rome] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxxx/public_html/modules/statsvisits/statsvisits.php on line 176
the result is an empty statistical graph:
normally the module will collect informations from visitors.
Steps to reproduce the behavior:
Thanks for opening this issue! We will help you to keep its state consistent
Hi @HartLarsson ,
In my shop 1.7.6.5, I do have the same issue :
I’ll add this to the debug roadmap so that it’s fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
Hi @HartLarsson ,
In my shop 1.7.6.5, I do have the same issue :
I’ll add this to the debug roadmap so that it’s fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
i will take alook to see if i can fix
Fixed in https://github.com/PrestaShop/statsvisits/commit/bc31e5569c1d3ed7c03eb9db32b549f73d9fbb71 on 13 Dec 2018 😮
It seems they forgot to release.
Oops... thanks @davidglezz, you're right, the latest release happened in January 2018! @PrestaShop/prestashop-core-developers, do you think that we could plan a release in the next few weeks?
Fixed in PrestaShop/statsvisits@bc31e55 on 13 Dec 2018 😮
It seems they forgot to release.
That fix resolved the module problem!
Thanks
@LouiseBonnard I Take
I have the same problem. After enabling PHP version: 7.1.33 statsvisits module does not work and in error.log I see information as below:
[15-Aug-2020 11:55:14 Europe / Warsaw] PHP Warning: Invalid argument supplied for foreach () in /modules/statsvisits/statsvisits.php on line 196
But, interestingly, when I turn on PHP version: 7.0.33 the module starts working.
Hi all!
Here's the PR: https://github.com/PrestaShop/statsvisits/pull/3 to fix the issue.
This ticket is a duplicate of #11758
So, I close it.
Thanks !
Duplicate of #11758
Hi all,
Thank you, it’s working now 😊
Pozdrawiam/ Best regards
BW
From: khouloudbelguith notifications@github.com
Sent: Monday, August 17, 2020 12:46 PM
To: PrestaShop/PrestaShop PrestaShop@noreply.github.com
Cc: WartoWiedziec wartowiedziec@onet.eu; Comment comment@noreply.github.com
Subject: Re: [PrestaShop/PrestaShop] statsvisits error on line 176 (#19508)
Hi all!
Here's the PR: PrestaShop/statsvisits#3 https://github.com/PrestaShop/statsvisits/pull/3 to fix the issue.
This ticket is a duplicate of #11758 https://github.com/PrestaShop/PrestaShop/issues/11758
So, I close it.
Thanks !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PrestaShop/PrestaShop/issues/19508#issuecomment-674807414 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSJ4TE2ENM37ICNYHC7E7DSBEC47ANCNFSM4NP7TC5A . https://github.com/notifications/beacon/ABSJ4TEZG3IKSLFK6E7TKHLSBEC47A5CNFSM4NP7TC5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFA4L45Q.gif