[wp-trac] [WordPress Trac] #55240: Fatal Error: Cannot redeclare wp_render_duotone_filter_preset()

WordPress Trac noreply at wordpress.org
Wed Feb 23 18:53:59 UTC 2022


#55240: Fatal Error: Cannot redeclare wp_render_duotone_filter_preset()
--------------------------+---------------------
 Reporter:  etilley       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.9.2
Component:  Editor        |     Version:  5.9.1
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by hellofromTonya):

 * keywords:  needs-testing =>


Comment:

 I agree with both @Mamaduka and @swissspidy.

 Doing a search of where the `wp_render_duotone_filter_preset()` function
 is declared:

 * In WP 5.9.1: it's `function` only appears in one place, i.e. in the `wp-
 includes/deprecated.php` file.
 * In Gutenberg plugin: it does not exist.

 The issue then is not in 5.9.1 or Gutenberg. Rather, the issue is an
 incomplete upgrade to 5.9.1.

 @etilley I'd suggest reinstalling 5.9.1 to ensure all new files are
 present. Why? Since there's an incomplete installation of the duotone
 file, it's probable other files may not have been updated too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55240#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list