• Resolved Bob

    (@bobk88)


    I’m getting the following message at my home page:

    Warning: Undefined array key “enable_gzip” in /usr/home/[username]/public_html/bobkarty.com/wp-content/plugins/wp-optimize/cache/class-wpo-page-cache.php on line 1500

    When I go to the login page, I get the above error and three more. The first is:

    Warning: Cannot modify header information – headers already sent by (output started at /usr/home/[username]/public_html/bobkarty.com/wp-content/plugins/wp-optimize/cache/class-wpo-page-cache.php:1500) in /usr/home/[username]/public_html/bobkarty.com/wp-login.php on line 515

    The other two new messages are the same except the line numbers are 531 and 7137.

    I’m unable to log into the site.

    After disabling WP Optimize via FTP, I’m able to log in and the error messages go away.

    Help, please!

    WordPress: 6.7.2 Theme: 2022 WP Optimize 4.1.1

    PHP: 8.2.28

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Damilare

    (@deabiodun)

    Hi Bob!
    Sorry about the issue you’ve encountered.

    Please confirm if the warning message remains when all your plugins are disabled except for WP-Optimize.
    Also send us your WPO system report. This can be generated as WP-Optimize > Settings > System status. You can safely send the report directly to us using our contact form. Make sure to reference this topic (support request) link in your message.

    Looking forward to your response.

    Regards.

    Thread Starter Bob

    (@bobk88)

    Thanks for the reply!

    No, the warning does not appear if WP Optimize is the only active plugin.

    I re-enabled plugins one at a time and found that there appears to be a conflict between WP Optimize and “Far Future Expiry Header”: https://wordpress.org/plugins/far-future-expiry-header/

    When Far Future Expiry Header is disabled, the errors go away.

    Does WPO have a similar functionality to FFEH? If so, I can delete FFEH.

    I sent the WPO System Report through your contact form as requested. Thanks!

    Plugin Support Damilare

    (@deabiodun)

    The closest to FFEH is the Cache lifespan feature at WP-Optimize > Cache > Page cache > Cache Settings. This does not only extend the re-fetch time for site resources, but also for the site content.

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

The topic ‘Error: Warning: Undefined array key “enable_gzip”’ is closed to new replies.