WordPress.org

Ready to get started?Download WordPress

Forums

NewStatPress
[resolved] Lot of notices are generated (4 posts)

  1. geza.miklo
    Member
    Posted 3 years ago #

    Great stuff guys, but yout should double check for notices occuring when the plugin is active. When you browse the admin pages yout can see lots of them.

    Just the two most frequent:
    line 204: variable existance is not checked before comparison.
    line 1243: explode may not return an array with at least two elements

    Besides it is really annoying, logging it costs performance :(

    (Turning notices off is not a real solution, that's just hiding it)

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

  2. ice00
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    where are the notices occuring? I don't get them in my enviroments, so I cannot help for resolving this issue (maybe I had notices off, but I don't know where to turn on in case)

  3. geza.miklo
    Member
    Posted 2 years ago #

    Have you added to your code?

    <?php
    error_reporting(E_ALL);
    display_errors(1);
    ?>
  4. ice00
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    thanks for the code, now I add it and I'm removing all errors.
    A fixed version will come soon.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic