Title: Error with Supercache
Last modified: September 8, 2017

---

# Error with Supercache

 *  [philpich](https://wordpress.org/support/users/philpich/)
 * (@philpich)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-with-supercache/)
 * Hello
    My wordpress site is displaying a wp super cache text at the top of my
   web site (see link) but I can’t log in at my admin pages. Is anyone knows how
   to fix this error without reinstalling the web site.
 * Thanks
    -  This topic was modified 8 years, 9 months ago by [philpich](https://wordpress.org/support/users/philpich/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-with-supercache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [philpich](https://wordpress.org/support/users/philpich/)
 * (@philpich)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9478761)
 * I’m sorry the good link of my web siet is : [http://cordier-cuisines.com/wordpress/](http://cordier-cuisines.com/wordpress/)
    -  This reply was modified 8 years, 9 months ago by [philpich](https://wordpress.org/support/users/philpich/).
 *  [Saša](https://wordpress.org/support/users/stodorovic/)
 * (@stodorovic)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9478971)
 * Hi [@philpich](https://wordpress.org/support/users/philpich/)
 * You should edit `wp-cache-config.php` in wp-content directory. You need to add
   this on the begin (instead damaged content):
 *     ```
       <?php
       /*
       WP-Cache Config Sample File
   
       See wp-cache.php for author details.
       */
   
       $wpsc_last_post_update = 1504859561; //Added by WP-Cache Manager
       ```
   
 * In next lines are variables, so you need to keep this part.
    until line `$wp_cache_debug_log
   = '';`. If you see repeating block, then remove duplicate. So last few lines 
   should be:
 *     ```
       $wp_cache_debug_level = 5;
       $wp_cache_debug_ip = '';
       $wp_cache_debug_log = '';
       ?>
       ```
   
 * Don’t put empty space after line `?>`.
 * It’s probably same as [https://wordpress.org/support/topic/wordpress-dashboard-no-longer-visible/](https://wordpress.org/support/topic/wordpress-dashboard-no-longer-visible/)
 * I hope that helps.
    Sasa
    -  This reply was modified 8 years, 9 months ago by [Saša](https://wordpress.org/support/users/stodorovic/).
 *  Thread Starter [philpich](https://wordpress.org/support/users/philpich/)
 * (@philpich)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9479986)
 * You are the best !!!
    the site is OK !! Just two small php tags erased ! Grrrrrr
 * With a great thanks
 * Philippe
 *  [tatarin](https://wordpress.org/support/users/tatarin/)
 * (@tatarin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9488650)
 * Hi Saša,
 * I did not understand what exactly to add! You can give a full example of wp-cache-
   config.php?
 * Thanks!!!!
 *  [Saša](https://wordpress.org/support/users/stodorovic/)
 * (@stodorovic)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9488949)
 * Hi [@tatarin](https://wordpress.org/support/users/tatarin/)
 * Each `wp-cache-config.php` is unique because there are settings for specific 
   website. Example for this file you can see on:
 * [https://github.com/Automattic/wp-super-cache/blob/master/wp-cache-config-sample.php](https://github.com/Automattic/wp-super-cache/blob/master/wp-cache-config-sample.php)
 * Regards,
    Sasa
 *  [tatarin](https://wordpress.org/support/users/tatarin/)
 * (@tatarin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9489117)
 * Hi Saša,
 * I need an example of an already edited file!
 * Thanks!!!
 *  [Saša](https://wordpress.org/support/users/stodorovic/)
 * (@stodorovic)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9489163)
 * It’s same as this file (only values are different). It’s long file and specific
   for each website. I **CAN’T PASTE** it here.
 * So, if you don’t have other way, then please backup your current file and copy
   sample file to wp-config-cache.php (it’ll reset supercache settings to default).
   After this, you need to review your settings for supercache in WP dashboard.
 * I’m so sorry, but I can’t explain better this. Please look other posts (I’m not
   sure that helps):
 * [https://wordpress.org/support/topic/wordpress-dashboard-no-longer-visible/](https://wordpress.org/support/topic/wordpress-dashboard-no-longer-visible/)
   
   [https://wordpress.org/support/topic/problems-wp-super-cache-after-upgrading-to-version-1-5-4-and-1-5-5/](https://wordpress.org/support/topic/problems-wp-super-cache-after-upgrading-to-version-1-5-4-and-1-5-5/)
 * Maybe there are more similar posts.
 *  [José Leonardo](https://wordpress.org/support/users/joseleonardo/)
 * (@joseleonardo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9489510)
 * I am with the same problem in my website, it happened more than 5 times already.
 * I think it is related with this PHP warning above, since wp-cache-config.php 
   file is being broken with “invalid” characters.
 * `[11-Sep-2017 15:15:37 UTC] PHP Warning: json_encode(): Invalid UTF-8 sequence
   in argument in /public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.
   php on line 53`
 * My last attempt was make this file unwritten changing its permission, nothing
   happened until now (no error), but I noticed I cannot edit a comment, I got the
   following msg:
 * `Error: file /public_html/wp-content/wp-cache-config.php is not writable. Error:
   file /public_html/wp-content/wp-cache-config.php is not writable. Error: file/
   public_html/wp-content/wp-cache-config.php is not writable.`
    -  This reply was modified 8 years, 8 months ago by [José Leonardo](https://wordpress.org/support/users/joseleonardo/).
 *  [tatarin](https://wordpress.org/support/users/tatarin/)
 * (@tatarin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9544377)
 * I had to switch to 1.5.3! 1.5.4 and 1.5.5 with bugs that add error code in main
   page on new sites(only on new, on old site all good)! Very sorry! But no one 
   even tries to correct these mistakes! Need to look for a replacement WP Super
   Cache!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Error with Supercache’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

 * [supercache](https://wordpress.org/support/topic-tag/supercache/)

 * 9 replies
 * 4 participants
 * Last reply from: [tatarin](https://wordpress.org/support/users/tatarin/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/error-with-supercache/#post-9544377)
 * Status: not resolved