Database Deadlock in TranslatePress Machine Translation
-
Hi TranslatePress Support,
I noticed a WordPress database deadlock error while using TranslatePress on my website.
The error occurred while I was working with translations and appears to originate from TranslatePress machine translation:
WordPress database error Deadlock found when trying to get lock; try restarting transactionThe affected query was an
INSERT IGNOREinto:wp_trp_machine_translation_locksThe error trace includes:
TRP_Machine_Translator->translateTRP_Machine_Translator->claim_strings_for_machine_translationTRP_Query->claim_machine_translation_locksThe request was made through:
wp-admin/admin-ajax.phpI have also noticed another issue around the same period where the Forminator form editor displays a blank white page. I have tested Forminator with TranslatePress disabled using WordPress Troubleshooting Mode, and the Forminator editor still remains blank, so I am not sure whether the two issues are related.
The front-end translations and forms are currently still working.
My environment:
- Hosting: WordPress.com
- WordPress: 7.1.2
- PHP: 8.4.26
- TranslatePress: Free version
- Forminator: 1.57.3
Could you please advise whether this database deadlock is a known issue with TranslatePress machine translation and whether any action is required to prevent it from recurring?
I would prefer not to modify or delete the translation database tables because this is a live research assessment website.
Thank you for your help.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.