• Resolved heartwired

    (@heartwired)


    I have the “Disable All Features” option set to “On”, but the plugin is still caching my .php files. Flushing the cache does nothing. The only way to see updates to my php files is to click “Save Changes” on the LiteSpeed Cache Settings page. I’ve also tried setting “Cache PHP Resources” to “No”, but that doesn’t help either.

    Here’s what’s showing up in the debug log:
    [05-Nov-2019 17:32:02 UTC] PHP Notice: Constant LITESPEED_DISABLE_OBJECT already defined in /home/site/public_html/wp-content/plugins/litespeed-cache/admin/litespeed-cache-admin-settings.class.php on line 967

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @heartwired, could you try to reinstall LiteSpeed cache? Also, did you set LITESPEED_DISABLE_OBJECT somewhere on your code?

    Thread Starter heartwired

    (@heartwired)

    I’ve tried re-installing. Didn’t help. I am using Closte hosting, which includes Litespeed by default, so it’s possible they’re using it somewhere. I’ll have to look into it.

    Ok, the PHP file not updating issue might be related to the object cache on your server. If you find disabling our plugin not help, you can check on your hosting object cache setting.

    Thread Starter heartwired

    (@heartwired)

    Sorry if I mislead you. Disabling the plugin fixes the caching issue, but when I activate the plugin, the issue returns. It’s definitely related to the plugin.

    Thread Starter heartwired

    (@heartwired)

    Okay, it looks like my host has a must-use plugin which includes the following:

    if(!defined(“LITESPEED_DISABLE_OBJECT”)){
    define(“LITESPEED_DISABLE_OBJECT”,true);
    }

    What exactly does this do?

    Could you please join our Slack channel and find me by @stanley Cheung at Litespeed for reproducing the issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Disable All Features” Option Doesn’t Include PHP’ is closed to new replies.