I put in a report at Jira on this but thought I’d mention it here to see if anyone else has run into it or has a possible solution.
I have a phantom category in snippets called "Null" that I didn’t create. I think this is an IE7 issue. While the category is there, I can’t save, delete, or duplicate a snippet.
If I delete the category, I can save one snippet but then it comes back. In FF, I have trouble until I delete the category but the fix is permanent.
When the category is there, the category table in the DB has one entry with NULL for its name.
I also can’t create any new categories in FF or IE7.
Here’s the on-screen error I get when trying to save, duplicate, or delete a snippet:
An error occurred while trying to save the category.
This is in the log:
[2008-07-18 00:06:00] (ERROR @ /modx097/connectors/element/snippet.php) Error 23000 executing statement:
INSERT INTO `modx_categories` (`category`) VALUES (:category)
Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'null' for key 2
)