Explore our in-depth
tutorials
crafted by
skilled professionals!

Our Latest News, Advice and Thoughts

LiteSpeed Cache is Disabled Warning on WordPress

You are here:

 

Because the title implies, the Litespeed cache is a cache and it’s used within the Litespeed Internet Server. The Litespeed internet server is a substitute to the Apache Internet Server. Some occasions we’ll face a problem that the lite velocity cache is disabled as follows on  WordPress.

Litespeed Cache

 

Right here I’m telling about the way to resolve this example. This error largely happens whereas a web site is migrated from distant to the vacation spot server. This will happen largely the misconfiguration of the lite velocity file.

It is a generic error that doesn’t point out any reason for the problem.

Let’s have look the way to resolve this.

1) Login to the WordPress admin portal.

2) Navigate to  LiteSpeed Cache >> Report >> Report abstract. Right here you’ll be able to see one thing like under.

Server Variables

SERVER_SOFTWARE = LiteSpeed

DOCUMENT_ROOT = /residence/person/public_html

X-LSCACHE = on

LSWCP_TAG_PREFIX = 47b

WP_SITEURL = NULL

WP_HOME = NULL

WP_CONTENT_DIR = /residence/person/public_html/wp-content

SHORTINIT = false

LSCWP_CONTENT_DIR = /residence/person/public_html/wp-content

LSCWP_CONTENT_FOLDER = wp-content

LSCWP_DIR = /residence/person/public_html/wp-content/plugins/litespeed-cache-bk/

LITESPEED_TIME_OFFSET = 21600

LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT

LITESPEED_CLI = NULL

LITESPEED_ALLOWED = true

LITESPEED_ON = NULL

LITESPEED_ON_IN_SETTING = true

LSCACHE_ADV_CACHE = NULL

3) Examine the values of the next variables:

LSCACHE_ADV_CACHE = true.

If LSCACHE_ADV_CACHE = NULL, then look into the wp-content/advanced-cache.php file the place you could find a line outline(‘LSCACHE_ADV_CACHE’, true);. If the road already exists, then it may be a permissions problem. Generally this received’t be the rationale for the problem, and the plugin nonetheless doesn’t work. On this case, Login to WordPress dashboard Seek for LiteSpeed Cache >> Settings >> Superior and disable “Examine Superior Cache”.

LITESPEED_ON = true

If LSCACHE_ADV_CACHE = null, then this can be at all times NULL. In any other case, if this worth is NULL, then it means that you’re not operating with LiteSpeed Internet Server. Examine with the internet hosting supplier.

LITESPEED_ON_IN_SETTING = true

If this worth is NULL, then Login to WordPress Settings >> Basic web page and set “Allow LiteSpeed Cache” to Allow.

4) If the above strategies don’t enable you to resolve the scenario, allow the lite velocity then login to the server as the foundation person. Take away the advanced-cache.php file, and deactivating and reactivating the LiteSpeed Cache plugin. The file can be appropriately regenerated and configured.

# rm -rf /residence/person/publi_html/wp-content/advanced-cache.php

 

Should you want any additional assist, please do attain our assist division.

 

Leave a Comment