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

    (@bungeshea)

    Hello,

    You can try activating ‘Safe Mode’, which means that your snippets do not run, but everything else in the plugin works as normal. This means that you can access your dashboard and deactivate the faulty snippet.

    To activate safe mode, add the line

    define('CS_SAFE_MODE', true);

    to your wp-config.php file.

    Read more here: https://cs.bungeshea.com/docs/safe-mode/

    Thread Starter Peter

    (@pwenwp)

    Hi Shea,

    Thank you, this worked a treat.

    Regards

    Peter

    Plugin Author Shea Bunge

    (@bungeshea)

    In Code Snippets 1.6, the constant has changed to CODE_SNIPPETS_SAFE_MODE. The old constant will still work (for backwards-compatibility), but is not preferred.

    To activate safe mode, add the line

    define('CODE_SNIPPETS_SAFE_MODE', true);

    to your wp-config.php file.

    Read more here: https://code-snippets.bungeshea.com/docs/safe-mode/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Code Snippets] snippet causing fatal error’ is closed to new replies.