Minor issue: wp-cache-phase2.php throwing warning because of undefined variable
-
[27-Feb-2015 20:30:03 UTC]
error type: [8] Undefined variable: deleted file: /home/sparkle_sites/sparkle-gear.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php line: 810
[27-Feb-2015 20:30:03 UTC] Debug Trace:
…
…wp-cache-phase2.php at line 1275 function n/a (0=wp-cache-)
….n/a at line n/a function n/a ()
…..plugin.php at line 571 function n/a (?)
……wp-cron.php at line 103 function n/a (?)Easy fix, initialize $deleted to false near the top of the function
$now = time(); $deleted = false; if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cleaning expired cache files in $blog_cache_dir", 2 );
The topic ‘Minor issue: wp-cache-phase2.php throwing warning because of undefined variable’ is closed to new replies.