• Resolved Malvyn

    (@insee77)


    Hi,

    Just updated to version 3.2.5 and now there are lot of error messages on my log:

    [ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php

    I’m using Litespeed cache and WPO Page Cache setting is disabled.

    Please advise. Regards.

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Contributor Venkat Raj

    (@webulous)

    Hi @insee77,

    If you enable cache, there won’t be any log messages. If you don’t want to use caching feature, we will fix this in the next release.

    But it is not recommended to turn on WP_DEBUG_LOG in production site.

    Same here, awaiting the next release.

    Same error with version 3.2.5 (PHP 8.0):
    [ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php

    Am disabling the plugin for time being while waiting for the next release…

    Cheers.

    Oh guys, please fix this asap. I’m getting the logs of multiple sites being filled with this warning ??

    My site went down because of the update:

    “Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WP-Optimize – Clean, Compress, Cache.”

    I’ve disabled the plugin for now. Clearing my cache from wpengine temporarily solved my site being dead, but I’m pretty concerned about its happening again.

    @khirasaki @kent-brockman @loyukfai @roundaboutweb We are soon going to release a new version, until then please rollback the version to previous working version 3.2.3.

    Once the new version is released, we will update you soon.

    @athan43 Yes this should get fixed in next release

    Thank you very much for your prompt reply.

    I noticed this same error today when running any WP-CLI command. Deactivating this plugin does resolve it. We use WP Engine and this environment usually has advanced-cache.php drop-in running. Deactivating WP Optimize looks to have removed define('WP_CACHE', true);

    Here’s the sample:

    
    sean@Seans-MacBook-Pro ~ % ssh ####@####.ssh.wpengine.net
    ___       _________       __________              _____
    __ |     / /__  __ \      ___  ____/_____________ ___(_)___________
    __ | /| / /__  /_/ /      __  __/  __  __ \_  __  /_  /__  __ \  _ \
    __ |/ |/ / _  ____/       _  /___  _  / / /  /_/ /_  / _  / / /  __/
    ____/|__/  /_/            /_____/  /_/ /_/_\__, / /_/  /_/ /_/\___/
                                              /____/
    WP Engine Shell - PHP 7.4
    
    * WP-CLI Commands:   https://developer.www.ads-software.com/cli/commands/
    
    *** NOTE ***
    This is a sandboxed environment that interacts with the production server for
    your website. Most resource usage commands (i.e. top, vmstat, free, etc.) do not
    reflect the usage of your production server environment.
    wpe-user@####.ssh.wpengine.net:~/sites/####$ wp wc_recommender_rebuild
    [ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php
    [ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php
    

    This issue is pretty heavy and spamming error_log (currently 2.4GB).

    Why can’t you provide a hot-fix of a file to edit/replace with now until an update is pushed? Strange.

    I second that. Five days and yet they cannot push an update that could fix this? Incredible. Think in the hundreds of sites using automatic updates. We the hosting providers are happy selling more disk space to those affected. But it’s unfair…

    Plugin Support vupdraft

    (@vupdraft)

    Sincere apologies on this, our developers our working on this as we speak

    Plugin Support vupdraft

    (@vupdraft)

    We have just finished testing on a fix for this, a new release should be available imminently

    When is the release if the fix scheduled? Thanks, Mike

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php’ is closed to new replies.