Support » Plugin: WP-Matomo (WP-Piwik) » Notice: A non well formed numeric value encountered in

  • Resolved Al_Photog


    WP-Piwik: Ver 1.0.15
    Piwik: Ver 3.0.3
    PHP: Ver 7.1.4

    Today I noticed for the first time an error in my dashboard, right above the WP-Piwik overview widget it shows the following error:

    Notice: A non well formed numeric value encountered in /MYDIRPATH…/wp-content/plugins/wp-piwik/classes/WP_Piwik/Widget/Overview.php on line 32

    Piwik shows no errors. I only see this error on my dashboard widget in the wordpress admin. The wp-piwik stats page with the graphs inside seems to work just fine also. I updated to WP-Piwik 1.0.15 about a week ago and didnt notice this error back then until today (but I usually dont spend that much time in the dashborad so I might have missed it).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author braekling


    Thanks for pointing that out!

    First of all, don’t worry. This is just a notice, not an error, and is not shown on productive environments with deactivated debug functionality. It does not affect the functionality.

    For some reason, Piwik is delivering an invalid (not numeric) result in your case. With the next update I’ll make sure this is caught and does not show a notice anmyore.

    • This reply was modified 1 year, 5 months ago by  braekling.

    Thanks for your feedback and reply braekling. Could WP-Piwik be going into debug mode on its own by any chance? If not, any ideas as to why it is working on debug mode? I checked all of the php.ini files leading up to the wp-piwik directory and debug is not turned on. I also checked all *config.php files (wordpress and wp-piwik) and I do not seem to be setting any debug flags on anywhere. WP_DEBUG is set to FALSE.

    Plugin Author braekling


    No, WP-Piwik does not change your debug settings.

    Did you check your .htaccess and other Apache configuration files? There you can also set PHP’s environment variables.

    Plugin Author braekling


    Issue is fixed in 1.0.16, release soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Notice: A non well formed numeric value encountered in’ is closed to new replies.