• Hey there,

    in my debug.log I see the following PHP notices:

    PHP Notice: Undefined offset: 1 in ../wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1511

    note: I have the latest version of both the WP core and the plugin.

    Please check,
    Thanks,
    Andras

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thanks Andras. That shouldn’t happen, but it’s harmless as that code handles the timing information for cache generation. If it’s wrong, it just prints the wrong number of seconds in the html comment printed to the html comments of cached pages.

    Hi Andras,

    I’ve found root of this issue. See https://github.com/Automattic/wp-super-cache/pull/367

    You can try the latest development version https://odd.blog/y/2o or wait for update which will be released soon.

    I hope that helps,
    Sasa

    I am getting the following PHP error:

    [29-Aug-2017 21:29:56 UTC] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in …/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 53

    Also this one related with wptouch:

    [28-Aug-2017 14:30:16 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at …/public_html/wp-content/wp-cache-config.php:90) in …/wp-content/plugins/wptouch-pro/core/class-wptouch-pro.php on line 380

    Hi @joseleonardo

    Thanks for reporting, but it isn’t related to this topic.

    First PHP notice is already reported. Please use https://github.com/Automattic/wp-super-cache/issues/349 or create new post. I think that’s related to WP search and please try some suggestions from github.

    Second PHP notice. It’s possible to write more details how to reproduce it? Also, please create new post for this.

    Regards,
    Sasa

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Notice: Undefined offset wp-super-cache/wp-cache-phase2.php on line 1511’ is closed to new replies.