Make WordPress Core

Opened 2 years ago

Last modified 9 months ago

#55361 new defect (bug)

WordPress database error Deadlock found when trying to get lock on wp_get_global_styles_svg_filters

Reported by: backups's profile BackuPs Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9.1
Component: Editor Keywords: close
Focuses: Cc:


I don't know where to ask this question but i have these error messages in my log file.

The template just calls wp_body_open after the body tag. I can see a filter is added for body open that renders svg filters in the default_filters.php in wordpress.

But how do i get rid of these entries in the error log and where are they coming from? It seems that wordpress is triggering these.

Can you please advice on how to get rid of these messages in the error log

WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE option_name = '_transient_global_styles_svg_filters_champion' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/champion/template_sections.php'), get_header, locate_template, load_template, require_once('/themes/champion/header.php'), wp_body_open, do_action('wp_body_open'), WP_Hook->do_action, WP_Hook->apply_filters, wp_global_styles_render_svg_filters, wp_get_global_styles_svg_filters, get_transient, delete_option

Change History (2)

#1 @BackuPs
2 years ago

also seeying these more and more.

PHP Notice: Undefined index: HTTP_HOST in /home/public_html/wp-includes/ms-settings.php on line 57

Last edited 2 years ago by BackuPs (previous) (diff)

#2 @sabernhardt
9 months ago

  • Component changed from General to Editor
  • Keywords close added

The SVG errors probably stopped by WordPress 6.3, when wp_get_global_styles_svg_filters() was deprecated. If you still get a similar error, please report that on the Gutenberg GitHub repository.

Also, the HTTP_HOST error is reported on #47733, if you would like to follow and/or join that discussion.

Note: See TracTickets for help on using tickets.