WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = ‘element_pack_license_key’

Problem:

I have this error in my wordpress debug.log

WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE option_name = 'element_pack_license_key' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, bdthemes_element_pack_load_plugin, require('/plugins/bdthemes-element-pack/includes/admin-settings.php'), ElementPack_Admin_Settings->__construct, ElementPack\Base\Element_Pack_Base::CheckWPPlugin, ElementPack\Base\Element_Pack_Base->_CheckWPPlugin, ElementPack\Base\Element_Pack_Base->removeOldWPResponse, call_user_func, ElementPack_Admin_Settings->{closure}, delete_option 

Already Done:

I don’t know what happen with bdthemes plugin, so i want to remove the plugin, but it cannot be removed from Admin Dashboard

Question:

How to remove the plugin

Answer:

I just renamed it and problem solved

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *