WordPress.org

Forums

Types
[resolved] error notices (3 posts)

  1. thomask
    Member
    Posted 2 years 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 2 years 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 2 years 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

  • Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic