wpsnoop: fix wp-cache plugin conflicts, errors & issues

When the plugin wp-cache conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by wp-cache, plus learn which plugins and/or themes could be in conflict with wp-cache.


Troubleshooting theme and plugin conflicts is easier when you know what wp-cache leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for wp-cache

Get professional support for wp-cache here

When you need professional help with WordPress: get help here


What does wp-cache version 2.1.2 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for wp-cache to perform differently in your installation, previous versions before 2.1.2 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 2.1.2 of wp-cache behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for wp-cache by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does wp-cache add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/wp-cache/ 41.51kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-cache/README.txt 5.89kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-cache/wp-cache-base.php 286.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-cache/wp-cache-config-sample.php 842.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-cache/wp-cache-phase1.php 1.87kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-cache/wp-cache-phase2.php 9.91kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-cache/wp-cache.php 22.73kB No known conflicts with other themes or plugins.

Which new shortcodes does wp-cache add to WordPress?

Which new database tables are created by the WordPress plugin wp-cache?

Which new options are added to the wp-options table by wp-cache?

What new PHP functions does wp-cache declare when it is active?

Function   Conflicts Common Errors
wp_cache_add_pages 1 conflict Fatal error: Cannot redeclare wp_cache_add_pages()
wp_cache_check_global_config 1 conflict Fatal error: Cannot redeclare wp_cache_check_global_config()
wp_cache_clean_cache 1 conflict Fatal error: Cannot redeclare wp_cache_clean_cache()
wp_cache_clean_expired 1 conflict Fatal error: Cannot redeclare wp_cache_clean_expired()
wp_cache_disable 1 conflict Fatal error: Cannot redeclare wp_cache_disable()
wp_cache_enable 1 conflict Fatal error: Cannot redeclare wp_cache_enable()
wp_cache_files 1 conflict Fatal error: Cannot redeclare wp_cache_files()
wp_cache_is_enabled 1 conflict Fatal error: Cannot redeclare wp_cache_is_enabled()
wp_cache_manager 1 conflict Fatal error: Cannot redeclare wp_cache_manager()
wp_cache_replace_line 1 conflict Fatal error: Cannot redeclare wp_cache_replace_line()
wp_cache_sanitize_value 1 conflict Fatal error: Cannot redeclare wp_cache_sanitize_value()
wp_cache_verify_cache_dir 1 conflict Fatal error: Cannot redeclare wp_cache_verify_cache_dir()
wp_cache_verify_config_file 1 conflict Fatal error: Cannot redeclare wp_cache_verify_config_file()
wp_cache_check_link 0 conflicts Fatal error: Cannot redeclare wp_cache_check_link()
wp_cache_edit_accepted 0 conflicts Fatal error: Cannot redeclare wp_cache_edit_accepted()
wp_cache_edit_max_time 0 conflicts Fatal error: Cannot redeclare wp_cache_edit_max_time()
wp_cache_edit_rejected 0 conflicts Fatal error: Cannot redeclare wp_cache_edit_rejected()
wp_cache_edit_rejected_ua 0 conflicts Fatal error: Cannot redeclare wp_cache_edit_rejected_ua()
wp_cache_restore 0 conflicts Fatal error: Cannot redeclare wp_cache_restore()

Using wp-cache from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install wp-cache from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install wp-cache


How to activate wp-cache from the command line with WP-CLI

To immediately activate wp-cache after WP-CLI downloads the latest version you can use the following command:

wp plugin install wp-cache --activate


How to reinstall wp-cache from the command line with WP-CLI

To force a reinstallation of wp-cache which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install wp-cache --force


How to update wp-cache to the latest version from the command line with WP-CLI

wp plugin update wp-cache


How to delete wp-cache from the command line with WP-CLI

wp plugin delete wp-cache

Where can you download earlier versions of wp-cache?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of wp-cache from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in wp-cache

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with wp-cache. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.