Title: Error since backup restore
Last modified: February 8, 2022

---

# Error since backup restore

 *  Resolved [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-since-backup-restore/)
 * Hello,
 * We are getting this error within our logs,
 * PHP message: WordPress database error Deadlock found when trying to get lock;
   try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name`
   = ‘login_nocaptcha_working’ made by do_action(‘admin_init’), WP_Hook->do_action,
   WP_Hook->apply_filters, LoginNocaptcha::register_settings, delete_option”
 * Any ideas on how to resolve? Thank you

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

 *  Plugin Author [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * (@robertpeake)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-since-backup-restore/#post-15341049)
 * Although this happens to mention an option related to this plugin, it is actually
   a database error unfortunately that needs to be resolved by the web host. Good
   luck!
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-since-backup-restore/#post-15341180)
 * The webhost (Kinsta) have said its an issue with this plugin.
 *  Plugin Author [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * (@robertpeake)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-since-backup-restore/#post-15341231)
 * Unfortunately they are incorrect. The plugin uses the WP standard `delete_option`
   and `update_option` to modify the value ‘login_nocaptcha_working’. There is no
   transaction locking involved in that operation. So, the DEADLOCK error is the
   problem, but the fact that it happens to be operating on the ‘login_nocaptcha_working’
   data is a red herring. Hopefully they can help you clear the actual deadlock 
   issue, which may be caused by the database itself or another plugin. Good luck!
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-since-backup-restore/#post-15341316)
 * Appreciate your help, thank you. I’ve passed this back to them.
 * Would you be able to assist with a “Login NoCaptcha” shows the notice: Login 
   NoCaptcha was bypassed on login page: index.php.” ?
 * it is on the woocommerce my-account page

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

The topic ‘Error since backup restore’ is closed to new replies.

 * ![](https://ps.w.org/login-recaptcha/assets/icon-256x256.png?rev=1137538)
 * [Login No Captcha reCAPTCHA](https://wordpress.org/plugins/login-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/login-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-recaptcha/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [dev](https://wordpress.org/support/users/devksec/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/error-since-backup-restore/#post-15341316)
 * Status: resolved