After deleting some images and adding a few new images & badges, i am now getting the following error when i try to add any new badges:
Duplicate entry '0' for key 1 query: INSERT INTO user_badges_badges (name, image, weight, href) VALUES ('My new badge', 'files/badges/first.png', 3, '') in /../sites/all/modules/user_badges/user_badges.module on line 519.
Every badge i try to add is attempting to use BID 0 which already exists.
any help?
Comments
Comment #1
nancydruI'm going to guess that you somehow hosed up the database. The first thing I would try is to export and import the user_badges_badges table (or all of them). In the likely event that that doesn't work, the best thing to do is to completely uninstall the module and re-install. Unfortunately, that will mean rebuilding all the badges.
Comment #2
nancydruComment #3
nancydruNo further updates.