Database error

From ColourWiki

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "MediaWikiBagOStuff:_doquery". MySQL returned error "1062: Duplicate entry 'oywikidb:pcache:idhash:948-1!1!0!1!0!1!0!!en' for key 1 (localhost)".