• dimal

    (@dimalifragis)


    The only thing that is changed the last month or so, is Kadence theme. Of cource that means nothing, since many plugins are updated etc etc but i didn’t had that before.

    [05-May-2022 18:16:08 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROMwp_optionsWHEREoption_name= '_site_transient_theme_roots' made by require('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, cptch_init, bws_include_init, wp_get_themes, search_theme_directories, get_site_transient, delete_site_option, delete_network_option, delete_option

    Thanks

    • This topic was modified 4 years, 1 month ago by dimal.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    There isn’t enough there for me to make much of a guess. I suggest doing a database repair. Contact your host to view the logs.

    Ben

    Thread Starter dimal

    (@dimalifragis)

    I did contact them and here is their reply:

    I checked the mysql server and I do not see any stuck threads there. So there wordpress itself is triggering the deadlock. I would try changing the theme or plugins you have activated.

    Also we checked the database, found no issues and all work well.

    Running 3 WordPress sites for almost 10 years, i have never seen that particular error.

    I have no other data to give you, this is what debug logs reports.

    Hi,
    Unfortunately, I can’t offer any suggestions.

    cptch_init, bws_include_init

    Seem to be from https://github.com/bestwebsoft/captcha-bws-wordpress-plugin

    If you’re using that plugin you could test deactivating it?

    Ben

    Just to note, I do not think this has to do with the theme, but _site_transient_theme_roots as to do with the active theme so you could try deactivating and reactivating themes as a test as well.

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

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