WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP_DEBUG throws errors from supercache. Any chance of some cleanup? (5 posts)

  1. Jeremy Clarke
    Member
    Posted 2 years ago #

    Hey Donncha, thanks for the plugin as always and for being so active on the forums supporting it (the number of supercache threads is almost as scary as the number where you replied is impressive).

    As I imagine you are aware, WP-Super-Cache is not WP_DEBUG compatible and running them together results in a lot of log cruft like Undefined index: HTTP_X_FORWARDED_PROTO and Undefined index: HTTPS and Constant WPCACHEHOME already defined.

    I think if you enabled WP_DEBUG and kept an eye on the logs you could clean up a LOT of the issues without creating any bugs or using up too much time, and it would make it way more pleasant to debug staging sites where keeping Supercache active is relevant to making sure things will work properly on live.

    Thanks for considering it.

    http://codex.wordpress.org/Debugging_in_WordPress

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Yup, I am aware of that but thanks for the reminder. There's already a ticket here about the issue with lots of patches! I just need to find the time to sort them out and try to fix the other problems others have here!

  3. Jeremy Clarke
    Member
    Posted 2 years ago #

    Hey Donncha,

    Thanks so much for attacking this in the latest version, what a difference!

    I think you added a new one by accident though, and it's pretty bad, causes several red "headers already sent" errors on the homepage:

    Notice: Undefined variable: cache_wptouch in /Users/ungratefulbiped/Sites/dev.gv/wp-content/plugins/wp-super-cache/plugins/wptouch.php on line 109

    Easy fix at least, thanks :)

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Already fixed in the dev version if you want to give that a spin!

    http://downloads.wordpress.org/plugin/wp-super-cache.zip

  5. Jeremy Clarke
    Member
    Posted 2 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic