Hi @syedanaa,
You can use the WPCode Safe Mode to overcome the error you encountered.
Please add ?wpcode-safe-mode=1 to your website admin URL and deactivate the snippet that is causing issues.
You can read more about how this works in this article: https://wpcode.com/docs/php-error-handling-safe-mode/#Safe_mode
Regarding deactivating the plugin from FTP – you will not lose your snippets but you still won’t be able to deactivate the faulty snippet. When activating the plugin again you’ll still need to use safe mode.
Thread Starter
Anonymous User 22015080
(@anonymized-22015080)
I deactivate plugin from ftp server so i can log in but i lose all snippets. If i activate plugin again I will get 503 server error so to deactivate one snippets with this ?wpcode-safe-mode=1 way work out for me?
Yes, go to /wp-admin/?wpcode-safe-mode=1 on your website and no snippets will be executed so that you can deactivate/edit the snippet causing the issue.
You will not lose all snippets if you deactivate the plugin – once you reactivate the plugin you will still have them but since one of the snippets is causing an error you need to use the safe mode parameter.
Thread Starter
Anonymous User 22015080
(@anonymized-22015080)
Thank you for quick response. Yes it did work for me thank you.
My site it up now with all my snippets.