Hi Support
Our Custom Code Snippet sections is giving errors when trying to save items.
If I create a new item, it gets created OK.
I cannot update or delete any items. I get the error message:
"There was an error when updating snippets."
I saw this post
https://toolset.com/forums/topic/cannot-save-custom-code-snippet/ which describes something similar, however the error message is different.
Also checked that the following are not present in the wp-config.php file
define( 'DISALLOW_FILE_EDIT', true );
define( 'DISALLOW_FILE_MODS', true );
Also checked that the folder and contents have read and write permissions (see screenshot).
I can workaround this for the moment by moving files back and forth with FTP, but that's not ideal and is prone to errors. I would like to get this working again from the GUI.
Also, if I create a new snippet, eg test.php and then delete it via the FTP server, it is no longer visible in the GUI, but if I then try to re-create test.php in the GUI, it is somehow remembering that I had such a file before - where is this information being stored in the database?
Thanks and regards
Simon