Deadlock in Yoast with Flamingo
-
When under load, we have been experiencing deadlocks that seem to be related to Yoast and other plugins, such as Flamingo (for Contact Form 7).
[23-Dec-2020 00:54:25 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query INSERT INTO
5TO_yoast_seo_links
(url
,type
,indexable_id
,post_id
,target_indexable_id
,target_post_id
,language
,region
) VALUES (‘https://www.prehealthshadowing.com/student-outreach/’, ‘internal’, ‘43321’, ‘133586’, ‘9543’, ‘16183’, NULL, NULL) made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, wpcf7_rest_create_feedback, WPCF7_ContactForm->submit, do_action(‘wpcf7_submit’), WP_Hook->do_action, WP_Hook->apply_filters, wpcf7_flamingo_submit, Flamingo_Inbound_Message::add, Flamingo_Inbound_Message->save, wp_insert_post, do_action(‘wp_insert_post’), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Builders\Indexable_Link_Builder->build, Yoast\WP\SEO\Builders\Indexable_Link_Builder->update_related_indexables, Yoast\WP\Lib\Model->save, Yoast\WP\Lib\ORM->save, Yoast\WP\Lib\ORM::executeand
[27-Dec-2020 23:46:25 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query INSERT INTO
5TO_yoast_seo_links
(url
,type
,indexable_id
,post_id
) VALUES (‘https://www.instagram.com/prehealthshadowing/’, ‘external’, ‘49315’, ‘139277’) made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, wpcf7_rest_create_feedback, WPCF7_ContactForm->submit, WPCF7_Submission::get_instance, WPCF7_Submission->proceed, WPCF7_Submission->mail, WPCF7_Mail::send, WPCF7_Mail->compose, wp_mail, PostmanWpMail->send, PostmanWpMail->sendMessage, do_action(‘post_smtp_on_success’), WP_Hook->do_action, WP_Hook->apply_filters, PostmanEmailLogService->write_success_log, PostmanEmailLogService->writeSuccessLog, PostmanEmailLogService->writeToEmailLog, wp_insert_post, do_action(‘wp_insert_post’), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Builders\Indexable_Link_Builder->build, Yoast\WP\SEO\Builders\Indexable_Link_Builder->update_related_indexables, Yoast\WP\Lib\Model->save, Yoast\WP\Lib\ORM->save, Yoast\WP\Lib\ORM::executeI’ve searched and cannot find any other instance of this. Any idea why this might be happening and what I could do to make it stop? The deadlock brings our site down for about 20 minutes when it happens. Can we unregister certain post types from Yoast indexing such as these that are irrelevent to SEO?
- The topic ‘Deadlock in Yoast with Flamingo’ is closed to new replies.