• Resolved K.H.R

    (@khrifat)


    Hello @bungeshea please help.

    I have written a code & activated it everywhere, Now it’s breaking the Full site & showing the Critical Error. I have renamed the plugin folder to deactivate it. Now when I activate the plugin, it’s breaking the site. So I need to remove that specific code that I wrote without activating the “Code Snippets” plugin.

    Please let me know how & where can I remove that specific code? I need it urgently, Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter K.H.R

    (@khrifat)

    Problem Solved.

    I have the same issue now – how did you solve it, please? Thanks a lot!

    So, I have the same problem so I investigated. It seems that Code Snippets has a special table: wp_snippets. This table has all available code snippets setup on site. The value of column “active” can be 0 or 1. Find the problematic code snippet and set its active status to 0 and the problem should go away.

    Plugin Author Shea Bunge

    (@bungeshea)

    Manually editing the database table is definitely a good solution for those who are comfortable with it. Alternatively, Code Snippets includes a built-in ‘safe mode’ feature which will temporarily pause snippet execution, allowing you to safely login and deactivate or edit the code causing an issue. You can find out how to enable it on our documentation site: https://help.codesnippets.pro/article/12-safe-mode

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need Urgent Help: How to remove a code when the plugin is Deactivated’ is closed to new replies.