WordPress.org

Ready to get started?Download WordPress

Forums

Blubrry PowerPress Podcasting plugin
Please add WP_DEBUG mode fixes for php warnings (6 posts)

  1. Jeremy Clarke
    Member
    Posted 2 years ago #

    Hi there, thanks for the great plugin.

    When I am working on my sites I always keep WP_DEBUG mode active so that I can ensure my own code is not generating any errors and that it is all valid and logical. Unfortunately PowerPress causes many notices to be thrown that end up showing all over the admin and can end up interrupting the flow of pages when they are shown before a redirect.

    It would be great if you could try to clean up some of these notices in the next version. They are always simple fixes and usually the result is to clean up your code and make it more logical. This Codex covers the debug mode in detail:

    http://codex.wordpress.org/Debugging_in_WordPress

    One thing I noticed in the code itself is that in many cases you use the @ sign when checking variables to suppress errors. This does not stop WP_DEBUG from showing the errors, so any use of @ in your code would be a good place to start looking for WP_DEBUG issues.

    Thanks for considering this request :)

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

  2. Angelo Mandato
    Member
    Plugin Author

    Posted 2 years ago #

    We provide 24 hour turn around support for PowerPress at the blubrry.com forums, forum.blubrry.com.

    Thanks for the feedback regarding the WP debug errors. We will address in the next release. It is common for us to have to go back and make slight code changes both for new versions of PHP and for new releases of WordPress. The @ issue causing warnings though is news to us and we will be investigating. We have been making it a practice for new code to use empty() instead of @ which will not throw such warnings.

    Thanks,
    Angelo

  3. Angelo Mandato
    Member
    Plugin Author

    Posted 2 years ago #

    jeremyclarke, I'm going over the plugin today finding possible notice messages, and I am not finding all these notices you're implying. I've only found 2 places at the moment. If you don't mind Emailing me details how your setup is configured and/or some links to the notices your receiving that be a tremendous help! email cio [at] rawvoice (dot) com.

  4. Jeremy Clarke
    Member
    Posted 2 years ago #

    Hi Amandato,

    I just checked out a /trunk/ install of powerpress and checked it with DebugBar and found many errors. There are two that show up throughout the admin, but when I load the new post screen I see many many more. I'll send you an email with screenshots of the errors.

  5. Angelo Mandato
    Member
    Plugin Author

    Posted 2 years ago #

    I'm still working on this, there are no more notices in the trunk version in the core powerpress features. Will be working on the verify and advanced features today.

    Thanks again for email with details on DebugBar, it's a great resource.

  6. Jeremy Clarke
    Member
    Posted 2 years ago #

    Great stuff amandato! FWIW your handling of this is really impressive and reflects wonderfully on Blubrry as a plugin patron :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags