Okay, here's how the code works:
1. It checks to see if there's a missing entry for 0-1-TEXT
2. If there is no such entry, it attempts to insert it.
Yours is failing because it didn't find the entry and tried to insert it, but found that the entry is actually already there.
How is that possible?
Perhaps you have other addons in your site that tamper with normal SQL operation, such as old caching tools like old QueryCache or something like that.
Bookmarks