It seems like your database table might be corrupted. To resolve this, either:
- Log in to your database (using an interface such as PhpMyAdmin, Adminer or similar) and delete the
{prefix}snippets table (usually called wp_snippets).
- Delete the plugin through the Plugins menu in WordPress and reinstall it
And all of my snippets are gone at that point?
You could try exporting them first, but if the data has been corrupted, then there might not be much that you can do other than restore from a backup.
Removed/deleted wp_snippets table.
Deleted plugin.
Reinstalled plugin.
Now I get this when trying to create a new snippet…
“An error occurred when saving the snippet.”
This is really strange. Was the wp_snippets table recreated when you reinstalled the plugin?
Any updates to this? Did you manage to get things working?