WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
What Does This Error Mean ? (4 posts)

  1. Dark_Fox44
    Member
    Posted 1 year ago #

    I just installed this plugin, i had to put some code in the config file, this was the code, define( 'WPCACHEHOME', '/home/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

    Everything was fine but i had to switch off 304 due to errors showing above the header of my site and now i am getting another error.

    Notice: Undefined variable: cached_list in /home/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 2327

    Notice: Undefined variable: expired_list in /home/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 2343

    Can you tell me what this is and whether i can easily fix it, is it a major issue or minor one. ?

    Also i do not think the average person with zero web skills would be able to add that code to the config file, why can't the plugin write it automatically.

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

  2. okito
    Member
    Posted 11 months ago #

    I have same problem with you. I have no idea what to do, except modify that file.
    change :

    if ( is_array( $cached_list ) && !empty( $cached_list ) ) {

    to :

    if ( isset( $cached_list ) && is_array( $cached_list ) && !empty( $cached_list ) ) {

    and
    change :

    if ( is_array( $expired_list ) && !empty( $expired_list ) ) {

    to :

    if ( isset( $expired_list ) && is_array( $expired_list ) && !empty( $expired_list ) ) {

  3. Dark_Fox44
    Member
    Posted 11 months ago #

    I couldn't get it to work so deleted the plugin and went back to W3 Total Cache, shame really but it works for me out of the box without issues.

  4. Dark_Fox44
    Member
    Posted 11 months ago #

    When i say couldn't get it to work i mean without modifying any files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic