WordPress.org

Ready to get started?Download WordPress

Forums

Debug Bar
error notices (2 posts)

  1. thomask
    Member
    Posted 1 year ago #

    probably not exactly a bug of your plugin but it throws a bug in your plugin which it should catch:

    Theese error notices appears when i click Debug - just above everything else
    /var/www/projects/zdrojak/htdocs/public/soubory/plugins/debug-bar/panels/class-debug-bar-queries.php on line 47 Notice: A non well formed numeric value encountered in /var/www/projects/zdrojak/htdocs/public/soubory/plugins/debug-bar/panels/class-debug-bar-queries.php on line 72

    http://wordpress.org/extend/plugins/debug-bar/

  2. thomask
    Member
    Posted 1 year ago #

    the problem is probably that i use diferent decimal separator and your sprintf('%0.1f' ... convert the number to string so that number_format then cannot count with it. I do not know what is there the sprintf used for, there are much better ways and you could call it after number_format, not before it. I have deleted the sprintf function from both places and it works without error notices (and times formated as before)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic