I wonder, if you check the fatal errors log, do you see any
Error: Allowed memory size of (X) bytes exhausted
This is an error I am also seeing where the /wp-json/wp-statistics/v2/hit call is causing an out of memory error and it’s happening sometimes, on sites with 14.4.2 update.
how can I get those errors log please ?
For instance, I have the same issue wi th all my sites since the update. So can you please do something ?
-
This reply was modified 1 year, 2 months ago by
camansou.
Are you asking me how you get your site log? Depends on your php configuration and hosting. It may (or may not) email the admin an email about php fatal exceptions in newer WP versions I recall.
no at all ! I’m just asking you to fix this bug… apparently, I’m not the only one in this case since the last update…
thank yoy
Not really in a rush to fix the bug huh? Too bad, there are other statistics plugins. Too bad, I really liked yours…
Hello,
Thank you for reporting the issue, the issue is fixed in the latest version, please update to v14.4.4
Best
Well : a BIG thank you for that !
Cheers
Thank you, it’s better, It’s actually still having issues with the new version from time to time after updating and increasing memory limit.
Hi @programmin
Can you please tell me how many records are in the bellow tables?
wp_useronline’
wp_visit’
wp_visitor’
wp_exclusions’
wp_pages’
wp_search’
wp_historical’
wp_visitor_relationships’
wp_events
I assume you mean “wp_statistics_visit
or” etc etc.?
<28000 rows in each of those tables on sites with issues.
Could you identify which query is experiencing slow performance? You can utilize Query Monitor for debugging purposes to pinpoint the issue.
Whenever it gets that 500 error, memory limit fatal exception – it would be not completing the queries? I think slowness would be a different issue?
Can you tell me where do you see the 500 error? in overview? is the GeoIP enabled?
It’s always /wp-json/wp-statistics/v2/hit that gets 500 with memory error by what I see in the logs.
“GeoIP Collection” enabled.