Cache Enabler Plugin: WP_CACHE not set in wp-config.php

by DiegoQ   Last Updated August 08, 2017 02:08 AM

I'm trying to install the plugin Cache Enabler in my WordPress site.

After activating the plugin I get the following warning:

"define('WP_CACHE', true); is not set in wp-config.php."

So I add that line in my wp-config.php file; however, the warning remains there.

I tried creating a new Wordpress site to make sure that there weren't any conflicts on the file, but I still get the same warning.

The wp-config.php is the default, with the line added:

<?php


define('WP_CACHE', true);
/**
 * The base configuration....
 * @package WordPress
 */

/**
 * Database connection information ...
 */

/**
 * Authentication Unique Keys ...
 */
define('AUTH_KEY',             '//');
define('SECURE_AUTH_KEY',      '//');
define('LOGGED_IN_KEY',        '//');
define('NONCE_KEY',            '//');
define('AUTH_SALT',            '//');
define('SECURE_AUTH_SALT',     '//');
define('LOGGED_IN_SALT',       '//');
define('NONCE_SALT', '//');

/**
 * WordPress Database Table prefix.
 */
$table_prefix  = 'wp_';

/**
 * For developers: WordPress debugging mode.
 */
define('WP_DEBUG', false);

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
  define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');


Related Questions



W3 Total Cache Adds Parameter to URL's

Updated September 17, 2016 09:03 AM


Wordpress Cache Plugin - Checking Referrer

Updated January 26, 2017 14:03 PM


Cache file /home/queryxchang/public_html/apps/frontend/config/../cache/-q-9-276132-cache-enabler-plugin-wp-cache-not-set-in-wp-config-php- could not be written