Database error

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: resolved
Viewing 8 reply threads
  • Author
    Posts
    • #18296

      rfischmann
      Member

      Hey,

      This is happening a lot lately:

      [26-Apr-2020 10:48:33 UTC] Database error from WordPress Deadlock found when trying to get lock; try restarting transaction para a consulta DELETE FROMwp_optionsWHEREoption_name` = ‘_transient_newsbeat_child_dynamic_css_vars’ feita por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/newsbeat/category.php’), get_header, locate_template, load_template, require_once(‘/themes/newsbeat/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, newsbeat__global_dynamic_css_vars, newsbeat__get_global_dynamic_css_vars, newsbeat__get_css_vars, delete_transient, delete_option
      [26-Apr-2020 10:48:33 UTC] Database error from WordPress Deadlock found when trying to get lock; try restarting transaction para a consulta DELETE FROM wp_options WHERE option_name = ‘_transient_newsbeat_child_dynamic_css_vars’ feita por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/newsbeat/single.php’), get_header, locate_template, load_template, require_once(‘/themes/newsbeat/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, newsbeat__global_dynamic_css_vars, newsbeat__get_global_dynamic_css_vars, newsbeat__get_css_vars, delete_transient, delete_option
      [26-Apr-2020 10:48:33 UTC] Database error from WordPress Deadlock found when trying to get lock; try restarting transaction para a consulta DELETE FROM wp_options WHERE option_name = ‘_transient_newsbeat_child_dynamic_css_vars’ feita por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/newsbeat/tag.php’), get_header, locate_template, load_template, require_once(‘/themes/newsbeat/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, newsbeat__global_dynamic_css_vars, newsbeat__get_global_dynamic_css_vars, newsbeat__get_css_vars, delete_transient, delete_option`

      Any ideas/help?

      Cheers.

    • #18300

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18301

      rfischmann
      Member

      Yes, I always have debug mode enabled, so I can see and fix any new errors in WordPress and its plugins.

      It didn’t happen when customizing the site. I just woke up and there are a few new entries of this in our error_log file.

      I’ll go ahead and apply that change to the file (it’s the one inside /inc/, right?), but even if it works, that means my database will build up on a lot of transient entries, correct?

    • #18313

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18320

      rfischmann
      Member

      It seems those errors did went away after I commented that line. What now, Jacob?

      Hum, yeah, I think WP Rocket does clear all transients during its weekly optimization.

    • #18341

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18344

      rfischmann
      Member

      I didn’t know I shouldn’t leave Debug Mode on, I’ve had it on for years. I thought it was important to quickly find any new issues related to WordPress’ updates, plugins or even my theme.

      How am I going to know if something’s wrong if it’s off?

      Cheers.

    • #18363

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18365

      rfischmann
      Member

      Ok! Thanks.

Viewing 8 reply threads
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.