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
Non Well Formed Numeric Value in Live Plugin in 3.0 #11066
Comments
just reiterating above error report - same configuration -> same error message |
Do you know if you are using any 3rd party plugins? You can find out on "Administration => Plugins" and then select "third party". If so, can you temporarily deactivate them all and see if the error still occurs? It might be a PHP 7.1.0 issue so moving into 3.0.1 milestone for now. |
third party: ExampleRssWidget (v1.0) inactive - has not been active on this 5 day old installation. |
ExampleRssWidget (v1.0) and PiwikPro (v3.0.0) are both listed as "Inactive". I think that means I'm not using any.
I don't know about Latest visits (that may be a translation issue), but in the "Add a widget" dropdown, "Visitors in Real Time" shows as being in the "Live!" category, and is updating fine. |
Hi, it happens if actionDetails
|
Well done for working that out. I was only seeing this very occasionally, and I'd only ever had it when the thumbnail regenerates in my browser speeddial plugin. Copying the error message to this issue meant reading tiny text, and I couldn't reproduce it. Now I can. You're quite right; here's how to reproduce this: Go to a site's dashboard, and click on the link to view a visitor profile (which opens in a lightbox). Then click on the "PIWIK" logo top-left of the screen, to return to your dashboard (showing all the sites you're tracking, not just the one you were previously in). You then get a warning DIV at the top of the page with the above error message in - one warning for every profile you visited. Refresh the page to reload the dashboard, and the message disappears (the warning is regarded as dismissed). |
@kokspflanze @James-Oakley can you try replace these lines: https://github.com/piwik/piwik/blob/3.x-dev/plugins/Live/Visitor.php#L308-L310 by:
and then reproduce the issue which should display some string on top of the screen? what is the value displayed? |
float(604) float(366) float(65) float(67) float(66) |
…age generation time in Visitor Profile fixes #11066
Found the issue I think, and should be fixed in https://github.com/piwik/piwik/pull/11095/files Do you mind testing the patches to the two files and confirm it fixes the issue? |
@mattab looks good from my site=) |
+1 Patches applied successfully, and the issue appears to be resolved. :-) |
…age generation time in Visitor Profile (#11095) * Live API: New 'generationTimeMilliseconds' field used to process Average generation time in Visitor Profile fixes #11066 * more precision * Expected test files * Reporting API: showColumns and hideColumns should be applied recursively (#11100) * Recursively delete columns specified with hideColumns * Custom Dimensions tests * Invalid argument supplied for foreach() + Contents tests * New unit test for ColumnDelete filter * Submodules
|
See https://forum.piwik.org/t/non-well-formed-numeric-value-in-live-plugin-in-3-0/22199
Piwik 3.0.0. PHP 7.1.0
This error only appears about once a day, and disappears on refreshing the dashboard. It leaves no trace in the PHP error_log or anywhere else - it's an onscreen warning only.
Here's the exact message:
The text was updated successfully, but these errors were encountered: