Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Need to Remove an Annoying Error Message at the top of my website WordPress


Hi Wordpress Experts, I keep seeing this message at the top of my website. The message says define('WP_CACHE', true); define( 'WPCACHEHOME', '/home3/waiyky0ae6ag/public_html/wp-content/plugins/wp-super-cache/' );

At first I thought it had to do with caching. I cleared cache it did not work. I thought it had to do with the wp-super-cache plugin. I disabled and deleted the plugin but the message still shows.
It's frustrating to me. How do I get rid of that?

Another strange thing is that when I click the refresh button on the browser the message disappears. That is super strange.

The website is

Can anyone help me?

Answers (2)


Alex Miller answers:

Unfortunately, I don't think that this is not an easy issue to fix using a QA format such as this.

WordPress uses a `wp-config.php` file in the root website install. This config folder holds sensitive information such as your website database logins and salts, not something that you should share online. It also holds these `define()` constants which both WordPress and plugins use as flags to help your website run. WP Super Cache writes some of these constants into your wp-config file but something must have went wrong. Here's an article regarding WP Config:

The problem is that if you're not familiar with PHP you could white-screen your website if something else goes wrong while trying to fix this issue so I wouldn't advise doing so yourself. So, here's what I suggest...

1) Reinstall WP Super Cache. Not solved? See #2

2) Contact your host. See if they can fix the issue even for a small fee. If they won't see #3

3) Check out your local meetups or WordCamps. Usually the people there can and will help your fix your website issues free of charge. WordPress is a huge community; helping and giving back when we can is kind of part of the motto. Assuming the website accurate to where you're located here's the closests Camps and Meetups:

If those do not work try to find a local meetup or camp:

4) Contact a local company or freelancer. This will likely be the most expensive option unfortunately. They'll get the job done right though.


timDesain Nanang answers:

There is no Error Message for me.
try clear browser cache.

Alex Miller comments:

It doesnt seem to appear on the homepage but it appears on sub pages. It also doesnt look like a PHP error but an echo/print.

timDesain Nanang comments:

these codes must be deleted automatically when deactivating the plugin
define('WP_CACHE', true);
define( 'WPCACHEHOME', '/home3/waiyky0ae6ag/public_html/wp-content/plugins/wp-super-cache/' );

try to removed it manually inside wp-config.php file

timDesain Nanang comments:

have you tried to removed it manually?