Title: Site break down after activating code
Last modified: April 19, 2024

---

# Site break down after activating code

 *  Resolved Anonymous User 22015080
 * (@anonymized-22015080)
 * [2 years ago](https://wordpress.org/support/topic/site-break-down-after-activating-code/)
 * Hey there its been a while i am using WP code lite but something strange happened
   today after activating code my site break down. If i turn off/delete plugin from
   FTP then I going to lose all my snippets is there any way i can just delete recent
   work so my site up and this way I won’t lose all my snippets.

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

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [2 years ago](https://wordpress.org/support/topic/site-break-down-after-activating-code/#post-17698394)
 * Hi @syedanaa,
 * You can use the WPCode Safe Mode to overcome the error you encountered.
 * Please add ?wpcode-safe-mode=1 to your website admin URL and deactivate the snippet
   that is causing issues.
 * You can read more about how this works in this article: [https://wpcode.com/docs/php-error-handling-safe-mode/#Safe_mode](https://wpcode.com/docs/php-error-handling-safe-mode/#Safe_mode)
 * Regarding deactivating the plugin from FTP – you will not lose your snippets 
   but you still won’t be able to deactivate the faulty snippet. When activating
   the plugin again you’ll still need to use safe mode.
 *  Thread Starter Anonymous User 22015080
 * (@anonymized-22015080)
 * [2 years ago](https://wordpress.org/support/topic/site-break-down-after-activating-code/#post-17698434)
 * I deactivate plugin from ftp server so i can log in but i lose all snippets. 
   If i activate plugin again I will get 503 server error so to deactivate one snippets
   with this ?wpcode-safe-mode=1 way work out for me?
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [2 years ago](https://wordpress.org/support/topic/site-break-down-after-activating-code/#post-17698442)
 * Yes, go to /wp-admin/?wpcode-safe-mode=1 on your website and no snippets will
   be executed so that you can deactivate/edit the snippet causing the issue.
 * You will not lose all snippets if you deactivate the plugin – once you reactivate
   the plugin you will still have them but since one of the snippets is causing 
   an error you need to use the safe mode parameter.
 *  Thread Starter Anonymous User 22015080
 * (@anonymized-22015080)
 * [2 years ago](https://wordpress.org/support/topic/site-break-down-after-activating-code/#post-17698466)
 * Thank you for quick response. Yes it did work for me thank you. 
   My site it up
   now with all my snippets.

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

The topic ‘Site break down after activating code’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: Anonymous User 22015080
 * Last activity: [2 years ago](https://wordpress.org/support/topic/site-break-down-after-activating-code/#post-17698466)
 * Status: resolved