• Notice: Undefined variable: supercache_home in /wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1143

    kindly please fix it and let me know.

Viewing 10 replies - 1 through 10 (of 10 total)
  • It has been fixed in the development version, but the bug is harmless and the next release of the plugin will have the fix. If it shows in your browser please disable the display of errors.

    Thread Starter GAM Themes

    (@gamthemes)

    OK Thanks

    I am getting the same error when I try and update my blog posts, there is no line 1143 in the wp-cache-phase2.php file.

    When will the new version fixing this bug be released? It’s been more than 2 months.

    Txs

    This issue is still happening. When will this be fixed in production?

    I’m having the same problem!!!! Ruining important pages!

    I have the same trouble when update post.
    Only warning and notice then when DEBUG is false not visible.
    “Undefined variable: supercache_home in ..”
    “Warning: Cannot modify header information ..”

    same here, problem exists on update of post or when publishing a new post

    #misterebs

    (@ekoboedhisantoso)

    My problem is solved with the steps below :

    In [..]/plugins/wp-super-cache/wp-cache-phase2.php line 1143, change:

    wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$supercache_home}page/." );
    $supercache_home = get_supercache_dir();
    prune_super_cache( $supercache_home . 'page/', true );

    to

    $supercache_home = get_supercache_dir();
    wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$supercache_home}page/." );
    prune_super_cache( $supercache_home . 'page/', true );

    Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Notice: Undefined variable: supercache_home’ is closed to new replies.