Title: deactivation breaks WordPress
Last modified: August 21, 2016

---

# deactivation breaks WordPress

 *  Resolved [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/)
 * When I deactivate the latest version of Quick Cache, the first line of wp-config.
   php ends up like this:
    `<?php/**`
 * This breaks WordPress and requires manual editing of wp-config.php to fix it.
 * [http://wordpress.org/plugins/quick-cache/](http://wordpress.org/plugins/quick-cache/)

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

 *  [THEMEDIAFIRE](https://wordpress.org/support/users/themediafire/)
 * (@themediafire)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352814)
 * Same here! Just, add:
 * <?php define(‘WP_CACHE’, true);
 * To 1 line e solved!
 * Parse error: syntax error, unexpected T_STRING
 * —
 * Apenas adicione a linha 1 para o WP-Config.php e resolverá!
 *  Thread Starter [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352819)
 * The `define('WP_CACHE', true);` part should only be present when the plugin is
   active. My report is about what happens when I deactivate the plugin.
 *  [Army](https://wordpress.org/support/users/wavesinair/)
 * (@wavesinair)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352842)
 * I deactivated my quick cache and now my site is broken. It says “Parse error:
   syntax error, unexpected T_STRING wp-config.php on line 18”
 * Any help is fixing this Robert?
 *  Thread Starter [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352846)
 * You need to edit wp-config.php and put a line break before the slash on the first
   line, so it looks like this:
 *     ```
       <?php
       /**
       ```
   
 *  [Army](https://wordpress.org/support/users/wavesinair/)
 * (@wavesinair)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352849)
 * I LUCKILY came across a fix. Robert already alluded to it but didn’t include 
   it in his first comment. If this happens to you, you must edit your wp-config.
   php and change the top line like this:
 *  <?php/**
    to <?php /**
 * That’s it. It fixed the problem for me. It’s absolutely crazy deactivating a 
   plugin can do this to a site. I am very hesitant to try quick cache again. I’ve
   used it for 2 years with no problems until this update made a mess of everything.
 *  Plugin Author [WebSharks](https://wordpress.org/support/users/websharks/)
 * (@websharks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352883)
 * Thanks for reporting this important issue. I’m filing a bug report here and we’ll
   take a close look at this before the next release. [https://github.com/WebSharks/Quick-Cache/issues/6](https://github.com/WebSharks/Quick-Cache/issues/6)
 *  [Egberto Willies](https://wordpress.org/support/users/egbertowillies/)
 * (@egbertowillies)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352902)
 * The lastest version crashed my entire website. I had to delete the entire Quickcache
   directory with FTP in the plugin directory. It crashed on install.
 * Fatal error: Uncaught exception ‘Exception’ with message ‘This version of Quick
   Cache requires PHP v5.3+.’ in /home/content/94/2161494/html/Blogs/FactualInfo/
   wp-content/plugins/quick-cache/quick-cache.php:19 Stack trace: #0 /home/content/
   94/2161494/html/Blogs/FactualInfo/wp-admin/update.php(87): include() #1 {main}
   thrown in /home/content/94/2161494/html/Blogs/FactualInfo/wp-content/plugins/
   quick-cache/quick-cache.php on line 19
 *  [Army](https://wordpress.org/support/users/wavesinair/)
 * (@wavesinair)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352914)
 * Thanks for the response Robert. Not sure why it didn’t show up last night. It
   wasn’t there when I posted my last comment.
 *  Thread Starter [Robert Trevellyan](https://wordpress.org/support/users/trevellyan/)
 * (@trevellyan)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4352916)
 * Ironically enough, that would most likely be a caching issue … or perhaps we 
   were both posting at the same time.
 * Sorry I didn’t include the fix in my original problem report.
 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4353052)
 * I apologize for all the trouble, everyone. The latest version of Quick Cache (
   v131206) contains many improvements and much better compatibility-checking to
   prevent catastrophic failures. See also: [http://wordpress.org/plugins/quick-cache/changelog/](http://wordpress.org/plugins/quick-cache/changelog/)
 * [@robert](https://wordpress.org/support/users/robert/) Trevellyan, [@egberto](https://wordpress.org/support/users/egberto/)
   Willies, [@army](https://wordpress.org/support/users/army/), THEMEDIAFIRE Could
   you please give that a shot and start a new support thread if you’re still having
   trouble? Thanks so much! 🙂
 *  [Stefan](https://wordpress.org/support/users/stefanyanku/)
 * (@stefanyanku)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4353058)
 * [@raam](https://wordpress.org/support/users/raam/) Dev
    First, thank you for 
   offering this module to the community and the efforts you are investing!
 * Last friday, I turned off QuickCache and the same issue occured on our live site.
   Which was a huge shock.
 * I hope this issue will be resolved in the next release.
    (Please make a note 
   in updates bullet list)
 * Thank you again
    and best regards!

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

The topic ‘deactivation breaks WordPress’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-cache_efefef.svg)
 * [Quick Cache (Speed Without Compromise)](https://wordpress.org/plugins/quick-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-cache/reviews/)

## Tags

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

 * 11 replies
 * 7 participants
 * Last reply from: [Stefan](https://wordpress.org/support/users/stefanyanku/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/deactivation-breaks-wordpress/#post-4353058)
 * Status: resolved