This is an old revision of the document!


LSCWP Error Codes

This page will explain the error codes received in the plugin in detail and any possible fixes, if available.

1000

Error Message:

The installed PHP version is too old for the LiteSpeed Cache Plugin.

The LiteSpeed Cache Plugin requires at least PHP 5.3. The currently installed version is PHP <PHP_VERSION>, which is out-dated and insecure. Please upgrade or go to active plugins and deactivate the LiteSpeed Cache plugin to hide this message.

Solution:

Server Admins:

Upgrade the PHP version used. If needed, set up a new PHP version here.

All others:

Select an upgraded PHP version if possible. If not, please contact the server administrator for options.

1010

Error Message:

The installed WordPress version is too old for the LiteSpeed Cache Plugin.

The LiteSpeed Cache Plugin requires at least PHP 3.3. Please upgrade or go to active plugins and deactivate the LiteSpeed Cache plugin to hide this message.

Solution:

Upgrade the WordPress version used.

2000

Error Message:

Something went wrong with the form! Please try again.

Solution:

Refresh the page and try the purge action again.

This error indicates that something went wrong in the action submission. If refreshing does not work, please contact us.

2010

Error Message:

Tried to purge list with empty list.

Solution:

Purge list requires a list of entries to purge.

2020

Error Message:

Bad Purge By selected value.

Solution:

Somehow, an invalid Purge By type was selected. Refresh the page and try again. If that does not work, please contact us.

2030

Error Message:

Failed to purge by category, invalid category slug.

Solution:

Purging by category should use the category slug. Check the category list to make sure that the slug is correct. If it still does not work, please contact us.

2040

Error Message:

Failed to purge by tag, invalid tag slug.

Solution:

Purging by tag should use the tag slug. Check the tag list to make sure that the slug is correct. If it still does not work, please contact us.

2050

Error Message:

Failed to purge by url, contained “<”.

Solution:

One or more of the URLs listed contained a “<”. This is strictly forbidden. Please try listing the URLs again, making sure to avoid using this character.

2500

Error Message:

Failed to purge by Post ID, given ID is not numeric: <ID>

Solution:

One or more of the Post IDs listed is not numeric. Please try listing the IDs again, making sure that all IDs listed are numeric.

2510

Error Message:

Failed to purge by Post ID, given ID does not exist or is not published: <ID>

Solution:

One or more of the Post IDs listed does not exist or the post is not published. Please verify the ID list with the Posts list to make sure that the correct IDs are used.

2520

Error Message:

Failed to purge by URL, invalid input: <URL>

Solution:

One or more of the URLs listed has an invalid format. As an example, /2016/02/24/hello-world/ should be used for http://www.myexamplesite.com/2016/02/24/hello-world/.

2530

Error Message:

Failed to purge by category, does not exist: <CATEGORY>

Solution:

The given category slug does not exist. Check the category list to make sure that the slug is correct. If it still does not work, please contact us.

2540

Error Message:

Failed to purge by tag, does not exist: <TAG>

Solution:

The given tag slug does not exist. Check the tag list to make sure that the slug is correct. If it still does not work, please contact us.

3000

Error Message:

Invalid data in Admin IPs.

Solution:

One of the entered IPs returned as an invalid IP. Re-enter the list of IPs again. If it still does not work and they are all valid IPs, please contact us.

3010

Error Message:

Invalid data in Test IPs.

Solution:

One of the entered IPs returned as an invalid IP. Re-enter the list of IPs again. If it still does not work and they are all valid IPs, please contact us.

3020

Error Message:

Invalid Site IP: 1.2.3.4

Solution:

The IP address 1.2.3.4 (for example) is not valid. Check your site's IP address and try again.

3030

Error Message:

Can not fetch Custom Sitemap: http://www.example.com/sitemapfile.xml

Solution:

The sitemap file name you entered is invalid or the file is unavailable. Double-check the URL and try again. Be sure that you are entering the full URL to the file.

3031

Error Message:

Can not parse custom sitemap xml file: http://www.example.com/sitemapfile.xml.

Solution:

The sitemap file was fetched but cannot be read. Make sure the sitemap is in XML format and that you have installed the php-xml extension on your server.

3500

Error Message:

<TTL NAME> TTL must be an integer between <MINIMUM> and 2147483647.

Solution:

The <TTL NAME> TTL entered was either not an integer or did not fit within the range listed. Please try a different value.

3510

Error Message:

Removed category “<CATEGORY>” from list, ID does not exist.

Solution:

The input <CATEGORY> is not a valid category. It was removed from the input list.

3520

Error Message:

Removed tag “<TAG>” from list, ID does not exist.

Solution:

The input <TAG> is not a valid tag. It was removed from the input list.

3530

Error Message:

Invalid login cookie. Invalid characters found: <LOGIN COOKIE>

Solution:

The login cookie entered has invalid characters. The accepted characters are: alphanumeric characters, '_', and '-'.

3540

Error Message:

Invalid Rewrite List. Empty or invalid rule. Rule: <OPTION>, list: <LIST>

Solution:

The input is tested on save. If this message is displayed, that means that the input entered is not a valid one. If <LIST> is EMPTY, that means the rewrite list was empty at a point when it cannot be empty, such as when the Enable Separate Mobile Views is checked. At that point, the List of Mobile View User Agents must not be empty.

4000

Error Message:

Tried to parse for existing login cookie. .htaccess file not valid. Please verify contents.

Solution:

On upgrade, check to see if a login cookie was manually inserted. If the .htaccess file is corrupted in any way, this warning will output. This may indicate mismatched tags.

4500

Error Message:

Could not find <CONTENT>.

Solution:

Receiving this error message means that the .htaccess file was modified in an unexpected manner. This resulted in missing tags, rules, or comments that are expected to be there. The easiest way to resolve this is to:

  1. Back up the .htaccess file
  2. Delete the contents including and within the LSCACHE START PLUGIN/LSCACHE END PLUGIN comments.
  3. In the wp-admin, change a LSCWP setting and save.
  4. Revert the change if required (optional step).

This should result in the plugin adding back the missing pieces. If this produces another error or if you would like us to take a look, just contact us, we'll be happy to help.

5000

Error Message:

This site is a subdirectory install. Login cookies do not match. Please remove both and set the login cookie in LiteSpeed Cache advanced settings.

Solution:

On upgrade, check to see if a login cookie was manually inserted. The plugin detected that this was a subdirectory install and determined that the login cookie for the two .htaccess files did not match.

6000

Error Message:

Notice: This plugin requires a LiteSpeed Server with the LSCache Module enabled. If you are unable to change your server stack, please contact your hosting provider to request the required changes. This plugin will NOT work properly.

Solution:

As the error states, this plugin requires a LiteSpeed Server with the LSCache Module enabled.

Server Admins:

If a LiteSpeed Server is already installed, it may just require switching from Apache to LiteSpeed. Note: If the license that is being used is not at least a 2-CPU license, then the LSCache Module may be not included. In this case, either upgrade the license to a 2-CPU+ license or purchase the LSCache Module addon.

All Others:

As a LiteSpeed Server is required, please contact the server admin for the possibility of switching to a LiteSpeed Server.

9000

Error Message:

LiteSpeed Cache was unable to write to the wp-config.php file. Please add the following to the wp-config.php file: define('WP_CACHE', true);.

Solution:

Check the wp-config.php file permissions. This error indicates that we attempted to set WP_CACHE to true, but was unable to write to the file.

9010

Error Message:

Failed to back up file, aborted changes.

Solution:

The plugin attempted to make changes to the .htaccess file, however in its attempt to create a backup, it failed. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are writable. If assistance is required, feel free to contact us.

9020

Error Message:

Failed to put contents into .htaccess.

Solution:

The plugin attempted to make changes to the .htaccess file, however in its attempt to save the file, it failed. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are writable. If assistance is required, feel free to contact us.

9030

Error Message:

Failed to get .htaccess file contents.

Solution:

The plugin attempted to read the .htaccess file, however in its attempt to open the file, it failed. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are readable. If assistance is required, feel free to contact us.

9040

Error Message:

.htaccess file not readable or not writable.

Solution:

The plugin attempted to read or write to the .htaccess file, however in checking the file permissions, it returned either not readable or not writable. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are readable. If assistance is required, feel free to contact us.

9041

Error Message:

.htaccess file not readable.

Solution:

The plugin attempted to read the .htaccess file, however in checking the file permissions, it returned not readable. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are readable. If assistance is required, feel free to contact us.

9042

Error Message:

.htaccess file not writable.

Solution:

The plugin attempted to write to the .htaccess file, however in checking the file permissions, it returned not writable. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are writable. If assistance is required, feel free to contact us.

9050

Error Message:

Prefix was found after suffix.

Solution:

Receiving this error message means that the .htaccess file was modified in an unexpected manner. This resulted in missing tags, rules, or comments that are expected to be there. The easiest way to resolve this is to:

  1. Back up the .htaccess file
  2. Delete the contents including and within the LSCACHE START PLUGIN/LSCACHE END PLUGIN comments.
  3. In the wp-admin, change a LSCWP setting and save.
  4. Revert the change if required (optional step).

This should result in the plugin adding back the missing pieces. If this produces another error or if you would like us to take a look, just contact us, we'll be happy to help.

9060

Error Message:

Failed to overwrite .htaccess.

Solution:

The plugin attempted to make changes to the .htaccess file, however in its attempt to save the file, it failed. Please check the permissions of the WordPress root and .htaccess files to make sure that the directory/files are writable. If assistance is required, feel free to contact us.

9070

Error Message:

The wp-config file not writeable for 'WP_CACHE'.

Solution:

Check the wp-config.php file permissions. This error indicates that we attempted to set WP_CACHE to true, but was unable to write to the file. If this doesn't work, please contact us.

9080

Error Message:

wp-config file did not find a place to insert define.

Solution:

Please contact us, this error indicates that there is a custom wp-config.php set up. Alternatively, please add the define in the desired customized location. A suggested location is just above where $table_prefix is set.

  • Admin
  • Last modified: 2017/10/19 13:57
  • by Lisa Clarke