Internal Server Error on using some tags (ERROR: duplicate key value violates unique constraint "index_tags_on_name")

Ok done :smiley:

If anyone else needs the query to find duplicate tags it’s:

SELECT name, COUNT(*)
FROM tags
GROUP BY name
HAVING COUNT(*) > 1

Don’t scare me now Neil! :scream:

I did have a quick look at the categories table and that seems fine (there are a few duplicated entires based on name, but they are sub-categories).

Thanks for your help @sam and @neil :blush:

(The reindex didn’t have any effect on this issue tho Neil)