Title: fatal Error
Last modified: October 30, 2018

---

# fatal Error

 *  Resolved [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/)
 * Whilst developing a snippet I have inadvertently made a mistake by turning on
   2 snippets that clash with each other. Now when I try to access the web site 
   I get this message: –
 * Fatal error: Cannot redeclare create_entry_after_submission() (previously declared
   in /homepages/38/d514219189/htdocs/app545640219/wp-content/plugins/code-snippetsOLD/
   php/snippet-ops.php(353) : eval()’d code:2) in /homepages/38/d514219189/htdocs/
   app545640219/wp-content/plugins/code-snippetsOLD/php/snippet-ops.php(353) : eval()’
   d code on line 28
 * I can deactivate the plugin in order to access the web site. But this does not
   solve the problem of accessing the snippets to rectify the errors. When I reactivate
   the plugin I crash the website and get the above code.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-3045%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10830613)
 * I’d recommend [using safe mode](https://wordpress.org/support/topic/help-i-just-activated-a-snippet-and-my-site-broke/)
   to solve this.
 *  Thread Starter [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10831178)
 * Many thanks for that. It sounded promising, but unfortunately it didn’t work.
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10831187)
 * Did you add this line to your `wp-config.php` file?
 * `define( 'CODE_SNIPPETS_SAFE_MODE', true );`
 * After adding it, your snippet code should temporarily stop running, so you can
   log in to your site and disable the problem snippet.
 *  Thread Starter [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10831206)
 * Many thanks. I will have a look at this.
 *  Thread Starter [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10838227)
 * I do not have access to WP-config.
 * Is it possible to access the folder where each snippet code is stored?
 *  Thread Starter [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10846448)
 * Any thoughts on my previous comments? I am anxious to access the snippets because
   I did not keep a copy of the code therefore I cannot delete the plugin and re-
   install.
 * Regards
 * David
 *  [poniel](https://wordpress.org/support/users/poniel/)
 * (@poniel)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10858123)
 * Hey Man, I contacted my host and they have a live chat where I was able to get
   them to go in and out of safe mode for me. That way all I did was go into the
   admin through safe mode and could edit my snippets. Have you tried contacting
   your host?
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10858554)
 * Hey [@costind](https://wordpress.org/support/users/costind/)
 * If you look at the page I linked, there is an alternative way of enabling safe
   mode that is much easier to use.
 * Visit your site URL with `/wp-admin/admin.php?page=snippets&snippets-safe-mode
   =true` on the end (e.g. [https://example.com/wp-admin/admin.php?page=snippets&snippets-safe-mode=true](https://example.com/wp-admin/admin.php?page=snippets&snippets-safe-mode=true)).
   Log in with an administrator account and you should be able to disable snippets
   without them running on your site.
 *  Thread Starter [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10864485)
 * Thank you for that. Unfortunately it didn’t work, ‘Access Denied’.
 * David
 *  Thread Starter [costind](https://wordpress.org/support/users/costind/)
 * (@costind)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10864629)
 * Recruited the help of someone to help me with your initial advice. All back to
   normal now.
    Many thanks for your help.
 * David
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10883099)
 * Excellent, good to hear.

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

The topic ‘fatal Error’ 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/)

 * 11 replies
 * 3 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3045/#post-10883099)
 * Status: resolved