New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning Piwik.php(122): Warning - A non-numeric value encountered #14540
Comments
Lines 120 to 123 in 4fc073e
I searched the log for newly added or changed calls to this function, but was not able to find anything recent. So it might be a side effect of another change.
|
Again got the error on demo where it was displayed 10 times in a row... this may affect all users, not sure... Could we maybe add a silent fail in front of it? or throw an exception (may cause some feature of Matomo to fail)? @diosmosis @tsteur |
@mattab I already though a few times that it might be helpful to add an option that can be temporarily enabled (with a system check urging everyone to disable it again) that will display proper stack traces to all error messages. That would make debugging far easier as the whole error message people post isn't that helpful in many cases when the php error or warning just occurs in some helper function or in twig. |
It could also be just logged to the file. Such things aren't easy to troubleshoot etc. Best to move this to 3.11 |
To find the root cause for these issues better we have changed the file log to include a trace in #14961 |
@mattab |
Can you enable logging to file see https://matomo.org/faq/troubleshooting/faq_115/ and then maybe it will be logging a backtrace into the
to your |
Reopening as the error shows up in 3.13.0 |
WARNING: www/demo.piwik.org/core/Piwik.php(122): Warning - A non-numeric value encountered - Matomo 3.10.0-rc1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
The text was updated successfully, but these errors were encountered: