A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

UPDATE `page` SET page_counter = page_counter + 1 WHERE page_id = 1314
from within function "". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)".