• Help, I need help ??
    Now, in serious:
    My site is blank after setting a snippet and I followed your instructions:

    “To activate safe mode, add the following line to your wp-config.php file, somewhere before the line that reads “/* That’s all, stop editing! Happy blogging. */“:

    define(‘CODE_SNIPPETS_SAFE_MODE’, true);

    After enabling safe mode, you should be able to log in to your WordPress dashboard and deactivate or fix the snippet that was causing the issue.

    Once this is done, you can to turn safe mode off by either commenting out this line or deleting it.

    A more convenient way to enable sage mode on a per-page basis is by appending ?snippets-safe-mode=true to the URL of the current page.”

    But it doesn’t help!!

    I can’t login to my site and I can’t find the plugin code snippet on my server in plugins.
    I’m using woocoomerce and wordpress, all is actual.

    I’m looking forward to an answer.
    Kind regards from Hamburg, Germany

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thought id give you a temp work around as ive got stuck like this a few times

    Just re-name the plugin folder via FTP or cPanel access to something like

    ##code-snippets

    Thread Starter muttifragt62

    (@muttifragt62)

    Thank you so much for fast respond!
    My problem is: I can’t find the code snippet plugin folder. It is not there under wp-content -> plugins. Don’t know why. Other I can see.

    that is weird, have you tried re-uploading the code-snippets plugin folder?

    Did notice that in the define(‘CODE_SNIPPETS_SAFE_MODE’, true); you used there are the wrong types of in the code wrapping the CODE_SNIPPETS_SAFE_MODE

    these ones are correct define('CODE_SNIPPETS_SAFE_MODE', true);

    • This reply was modified 5 years, 11 months ago by segmant.
    Thread Starter muttifragt62

    (@muttifragt62)

    Ok, thank you again!

    I re-uploaded the plugin folder and renamed it to #code-snippets.

    In my wp-config.php I’ve typed yesterday
    the right code with the right punctuations mark. I’ve checked that even right now.
    But it doesn’t work. Still blank dead white site.
    Do you have any idea?
    Kings regards!

    Thread Starter muttifragt62

    (@muttifragt62)

    Sorry, I mean ##code-snippets

    I looked at the error console and your site isn’t loading anything at all you have a Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    and if i view the source code all theres a <a href=" printed, thats it.

    I think what you need to do is start deactivating your plugins one by one, just by adding the # to the plugin folders through FTP to see if that makes a difference.

    Please take a look at this https://kinsta.com/blog/wordpress-white-screen-of-death/

    Do you have backups?

    • This reply was modified 5 years, 11 months ago by segmant.
    • This reply was modified 5 years, 11 months ago by segmant.
    Thread Starter muttifragt62

    (@muttifragt62)

    Ok, I understand and I will read the instructions. Let me try.
    Yes, I have a backup but I can’t get it. It’s a backup of my server but only my provider has the control. Now my provider has holidays because of Christmas.
    That’s all a big sh.. ??

    Plugin Author Shea Bunge

    (@bungeshea)

    If your site isn’t loading and the code snippets plugin doesn’t seem to be installed, it’s quite likely that the error is originating elsewhere. I’d recommend checking your other plugins and your active theme to see if they are causing the error.

    Thread Starter muttifragt62

    (@muttifragt62)

    Thank you! I will do that and I will follow the instructions of Segmant with ftp. Hope it helps.

    Best regards!

    Thread Starter muttifragt62

    (@muttifragt62)

    Ok, here I’m back again.
    I’ve followed the instructions of @ Segmant and I’ve done it very thoroughly point by point. But it did not help, unfortunately.

    I think that it seems your going to have to re-install one of your backups, I cant see that its the fault of the code snippets plugin as there is nothing loading at all if you look in the console error on your site.

    Its highly unusual that if you’ve gone though the steps mentioned earlier to recover the site that its still the same.

    Have you tried to connect to your database and check that?

    If you have WP-CLI and need to easily temp deactivate the Code Snippets plugin you can run the following command wp plugin deactivate code-snippets

    Plugin Author Shea Bunge

    (@bungeshea)

    @muttifragt62: If you are receiving a blank white screen of a 500 error, it usually means that there has been a PHP error, but the error message is not displayed. If you are able to turn on PHP error reporting and let me know what the message is, I might be able to work out how to solve this.

    You can turn on error reporting by setting the WP_DEBUG constant to true in your wp-config.php file. This usually means finding the line that looks like this:

    define('WP_DEBUG', false);

    and changing it to this:

    define('WP_DEBUG', true);

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘I activated the plugin with a snippet and my sites broke down’ is closed to new replies.