Title: Database Deadlock error
Last modified: January 27, 2021

---

# Database Deadlock error

 *  Resolved [vdgraphics](https://wordpress.org/support/users/vdgraphics/)
 * (@vdgraphics)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/database-deadlock-error/)
 * Hi, the same type of errors are piling up on the php error log and i don’t know
   why, these are the errors i see:
 * [26-Jan-2021 05:31:17 UTC] WordPress database error Server shutdown in progress
   for query SELECT * FROM wp0d_posts WHERE ID = 81792 LIMIT 1 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, CodistoConnect->parse, CodistoConnect-
   >sync, wp_get_attachment_image_src, image_downsize, wp_attachment_is_image, wp_attachment_is,
   get_post, WP_Post::get_instance
 * [26-Jan-2021 19:11:07 UTC] WordPress database error Deadlock found when trying
   to get lock; try restarting transaction for query SELECT * FROM wp0d_posts WHERE
   ID = 86012 LIMIT 1 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,
   CodistoConnect->parse, CodistoConnect->sync, wc_get_order, WC_Order_Factory::
   get_order, WC_Data_Store->__call, WC_Order_Data_Store_CPT->get_order_type, get_post_type,
   get_post, WP_Post::get_instance
 * [26-Jan-2021 19:11:07 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function remove_order_items() on boolean in /home/customer/www/irontime-sales.
   com/public_html/wp-content/plugins/woocommerce-amazon-ebay-integration/woocommerce-
   amazon-ebay-integration.php:1629
    Stack trace:
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-deadlock-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/database-deadlock-error/#post-13963355)
 * Hi there,
 * It seems there are two errors cropping up on the site: Both linked to the same
   plugin – [https://woocommerce.com/products/amazon-ebay-integration/](https://woocommerce.com/products/amazon-ebay-integration/)
 * For more support on that, please open a new support request at [https://woocommerce.com/my-account/create-a-ticket/](https://woocommerce.com/my-account/create-a-ticket/)
   as this forum is only focused on the core WooCommerce plugin itself.
 * Thanks!
 *  Thread Starter [vdgraphics](https://wordpress.org/support/users/vdgraphics/)
 * (@vdgraphics)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/database-deadlock-error/#post-14029794)
 * Yes i tried that and every time I get an answer that this problem is related 
   to Woocommerce and WordPress environment.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Database Deadlock error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [database issue](https://wordpress.org/support/topic-tag/database-issue/)
 * [deadlock](https://wordpress.org/support/topic-tag/deadlock/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [vdgraphics](https://wordpress.org/support/users/vdgraphics/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/database-deadlock-error/#post-14029794)
 * Status: resolved