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 "
". MySQL returned error "
1213: Deadlock found when trying to get lock; try restarting transaction (localhost)