Unable to execute query.
This error occurs when a deadlock has occurred and the query that caused the deadlock is not executed for concurrency control.
1. Find the queries that cause locks and check which of their logic is causing a deadlock.
Modify the queries so that the problematic logic is not executed.
2. As deadlocks can occur in replication, check the locks that are acquired during replication.