Title: Website crash after wrong code
Last modified: October 16, 2023

---

# Website crash after wrong code

 *  Resolved [Keith](https://wordpress.org/support/users/keithkhl/)
 * (@keithkhl)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/website-crash-after-wrong-code/)
 * I added a set of PHP code lines that I wasn’t sure if it will run. It got activated,
   and one I move away from the webpage, there comes a crash on the website.
 * I then have removed Code Snippet temporarily via FTP, and the website is back
   on. Then, when I try to reinstall this plugin from WordPress.org’s depository,
   I experience crash again.
 * I guess the wrong PHP code is still alive somewhere in /wordpress, and whenever
   Code Snippet is running, it also runs and creates crash.
 * Can anyone help me to remove the problematic code running at the back of the 
   scene?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Keith](https://wordpress.org/support/users/keithkhl/)
 * (@keithkhl)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/website-crash-after-wrong-code/#post-17126311)
 * was able to deactivate the lines by code snippet safe mode! always read documents
   first!

Viewing 1 replies (of 1 total)

The topic ‘Website crash after wrong code’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Keith](https://wordpress.org/support/users/keithkhl/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/website-crash-after-wrong-code/#post-17126311)
 * Status: resolved