Title: WordPress database error
Last modified: January 29, 2020

---

# WordPress database error

 *  Resolved [jdewit](https://wordpress.org/support/users/jdewit/)
 * (@jdewit)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-database-error-140/)
 * Since we updated the plugin to version 5.4.1 we’ve been seeing the error below
   several times in the PHP error log. Since today several users can no longer login
   to WordPress so I am wondering if it is related.
 * `WordPress database error Deadlock found when trying to get lock; try restarting
   transaction for query DELETE FROM wp_options WHERE option_name = '_transient__siteground_optimizer_installing'
   made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('
   wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook-
   >do_action, WP_Hook->apply_filters, SiteGround_Optimizer\Install_Service\Install_Service-
   >install, delete_transient, delete_option`
    -  This topic was modified 6 years, 4 months ago by [jdewit](https://wordpress.org/support/users/jdewit/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [6 years, 3 months ago](https://wordpress.org/support/topic/wordpress-database-error-140/#post-12416227)
 * You can ignore those lines. I would do a transients purge on your site with ‘
   wp transient delete-expired’ for example or a plugin just to clean things up.

Viewing 1 replies (of 1 total)

The topic ‘WordPress database error’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/wordpress-database-error-140/#post-12416227)
 * Status: resolved