WordPress.org

Ready to get started?Download WordPress

Forums

Types - Custom Fields and Custom Post Types Management
[resolved] error notices (3 posts)

  1. thomask
    Member
    Posted 1 year ago #

    when i load your plugin, those error notices appears in debug bar plugin (not as cathed error, but when i click the debug button)

    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 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

    not sure who's is this bug, IMO probably both of you - you shold not do what confuse debug bar and debug bar should catch it and not throw the error notice ;)

    http://wordpress.org/extend/plugins/types/

  2. thomask
    Member
    Posted 1 year ago #

    oh i probably got it. you are probably somehow changing the locale, so that here in czech republic we wrote comma as decimal separator, e.g. "0,00010895729064941" in place of "0.00010895729064941" and debug bar is counting with those values like $elapsed*1000; and so that it throws this error notice

  3. AmirHelzer
    Member
    Plugin Author

    Posted 1 year ago #

    Types doesn't change the locale, but it does load its own .mo file with translations.

    To accurately check for PHP errors, you can follow the instructions for PHP debugging here:
    http://wp-types.com/documentation/user-guides/debugging-types-and-views/

    As far as we know, Types runs without any errors, warnings or notices.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic