Support » Plugin: NewStatPress » [Plugin: NewStatPress] Lot of notices are generated

  • Resolved geza.miklo

    (@gezamiklo)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ice00

    (@ice00)

    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)

    Have you added to your code?

    <?php
    error_reporting(E_ALL);
    display_errors(1);
    ?>

    Plugin Author ice00

    (@ice00)

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

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: NewStatPress] Lot of notices are generated’ is closed to new replies.