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.
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
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
Since you deleted the snippet from the database you just need to deactivate or activate another snippet for the preload to be rebuilt.