Undefined variable: supercache_home
-
With setting
WP_DEBUG
totrue
, I use custom taxonomy (like category), after try to save some category list under Appearance > Menu, the error notice shown:Notice: Undefined variable: supercache_home in /home/dir/public_html/domain/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1143
I just try to fix it by
if ( ! empty( $supercache_home ) ) wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$supercache_home}page/." );
Please your support for the best solution.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined variable: supercache_home’ is closed to new replies.