WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP Super Cache Debug Notice and Warnings (5 posts)

  1. Jesse Friedman
    Member
    Posted 2 years ago #

    First of all thanks for making such an awesome plugin!!!!

    Second when I network activate the plugin on a local Network Install of WordPress 3.3.1 on MAMP with no other plugins activated I get:

    The plugin generated 358 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Later when navigate the dashboard of any site on the network I get the following debug notices and warnings:

    Notice: Undefined variable: cache_wptouch in /Users/___/MAMP/___/wp-content/plugins/wp-super-cache/plugins/wptouch.php on line 98
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/___/Documents/MAMP/___/wp-content/plugins/wp-super-cache/plugins/wptouch.php:98) in /Users/___/Documents/MAMP/___/wp-includes/functions.php on line 861
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/___/Documents/MAMP/___/wp-content/plugins/wp-super-cache/plugins/wptouch.php:98) in /Users/___/Documents/MAMP/___/wp-includes/functions.php on line 862

    I've omitted the folder names in the url's above because they relate to something I'd like to remain private. It has nothing to do with the errors.

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

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Try the development version, and also don't "display_errors" on a site, log them to a file. Those are harmless warnings that are fixed in the development version.

    Donncha

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

  3. storkontheroof
    Member
    Posted 1 year ago #

    Hi Donncha,

    Thanks indeed for this great plugin!

    I'm using the latest version of WP Super Cache, but this error still shows up in my log files. I know it doesn't have to be a problem, but it appears that $cache_wptouch is not always set and since it's cluttering my logfiles, i've modified the following in the if statement:

    >> if ( isset($cache_wptouch) && $cache_wptouch == 1 ) {

    Best,
    Richard

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 1 year ago #

    storkontheroof - thanks, this has been fixed as well in the development version. Give it a spin at http://ocaoimh.ie/y/2o

  5. storkontheroof
    Member
    Posted 1 year ago #

    @Donncha: Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic