Support » Plugin: Code Snippets » Urgent Help 500 error

  • Resolved shreyans94

    (@shreyans94)


    Hi,

    I am using this plugin and installed a snippet on my live site.

    It gave me a 500 internal server error and my site died.

    Then I had to navigate to app plugin folder in filezilla and delete it and the site ran again.

    But, I tries to reinstalled the plugin, but website died again, as soon as I activated it.

    How can I delete that snippet which caused error from database or using filezilla?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hey,

    You can achieve this by enabling safe mode. To do so, use FileZilla to edit your site’s wp-config.php file and add this line:

    define( 'CODE_SNIPPETS_SAFE_MODE', true );

    When this line is present, all active snippets will not execute on the site. This should allow you to log in to your site, deactivate or fix the problem snippet, and then remove that line to enable the active snippets again.

    Thread Starter shreyans94

    (@shreyans94)

    Fixed thanks a lot… it will be cool if you add this as a notice in the description

    Plugin Author Shea Bunge

    (@bungeshea)

    It’s in the FAQ and a pinned support thread, but I suppose I could add it to the main description as well.

    Glad to hear it’s fixed, though!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Urgent Help 500 error’ is closed to new replies.