• I’ve been getting the following error a lot on Astra sites recently. Very basic installs. Pretty much using Astra and Elementor. This error is coming from Astra styles option.

    Any thoughts on what it is and how to fix it?

    ——————–

    WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROMwpxg_optionsWHEREoption_name= '_transient_global_styles_astra' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/404.php'), get_header, locate_template, load_template, require_once('/themes/astra/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_global_styles, wp_get_global_stylesheet, get_transient, delete_option

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @chargeup,

    Where did you get/see those errors? On the Dashboard, error log, or where?

    Have you tried reinstalling the Astra theme?

    Looking forward to hearing from you.

    Kind regards,
    Herman ??

    Thread Starter chargeup

    (@chargeup)

    They are in the error log. Yes I’ve updated and having everything up-to-date on the sites.

    Thanks.

    Thanks for the update, @chargeup.

    Have you tried to deactivate all of the plugins installed on your site? Yes, the error log says astra. However, just in case the root of the cause is not Astra.

    Also, do you know how to replicate this? Or do you remember the thing you did before noticing the error message?

    Further, does the error cause any issues on your site? Features don’t work, broken layout, etc?

    Any information you can share could help.

    Kind regards,
    Herman ??

    Hello there,
    I faced the same issues yesterday:
    [26-Jun-2022 17:34:14 UTC] Грешка: Deadlock found when trying to get lock; try restarting transaction при заявка DELETE FROMwp_optionsWHEREoption_name= '_transient_timeout_global_styles_childthemename' изпълнена от require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/404.php'), get_header, locate_template, load_template, require_once('/themes/astra/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_global_styles, wp_get_global_stylesheet, get_transient, delete_option
    WP Astra + Astra Pro Addon – latest version.
    I was not updating or changing anything yesterday.
    However, there were problems, and many pages returned a 404 error. The worst thing was that this happened randomly, and after a few reloads, they loaded correctly again with code 200. After a few more reloads, it would return 404 again, then 200 again, and so on. I had to restore a backup to fix things from a few days back.
    This happens on a site with a lot of traffic, which is highly unpleasant…
    Has anyone with the same issues with 404 errors after a few reloads? 404 then 200, and so on random?

    Hi @haralampii,

    It would be helpful for all of us if you can start your own thread. This is why you should do it. You are welcome to cross-link your own thread with this one so we are all aware of this.

    In the meantime, please try to temporarily switch the theme to the default Twenty theme series and see whether you have the same issue or not.

    Kind regards,
    Herman ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress database error Deadlock found when trying to get lock; try restarting’ is closed to new replies.