• Resolved mightyx3n

    (@mightyx3n)


    How do i disable a snippet that broke my site, i looked in the database and deleted it but still my site is broken

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi there,

    In order to get around the error and disable the faulty snippet you can use the WPCode Safe Mode which will prevent any snippet from being executed on the site.

    To access the safe mode simply add the parameter wpcode-safe-mode=1 to your admin url, for example https://yoursite.com/wp-admin/?wpcode-safe-mode=1

    Once you enter the safe mode you should simply deactivate the snippet from the WPCode interface. More details on how to access the safe mode can be found in this article: https://wpcode.com/docs/php-error-handling-safe-mode/

    Let me know if you run into any issues with that.

    Thread Starter mightyx3n

    (@mightyx3n)

    Well i deleted the snippet from the database, but it seems to still be creating problems even after i deleted it, and when i use the safe mode i cant go to the plugin page, as the snippet i tried to create somehow redirects all admin pages to the dashboard page

    and without the safe mode i just get the error to many redirects,

    so your plugin somehow keeps the data stored somewhere even after deleted from the database

    Thread Starter mightyx3n

    (@mightyx3n)

    i can see the redirect was because of another plugin i have install called “UiPress” that is the reason for the redirect to the dashboard page, but after i disabled it i could go to the plugin page but the snippet is not there

    Plugin Author Mircea Sandu

    (@gripgrip)

    Since you deleted the snippet from the database you just need to deactivate or activate another snippet for the preload to be rebuilt.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Site Broken’ is closed to new replies.