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

WordPress Trac noreply at wordpress.org
Wed Feb 23 19:04:57 UTC 2022

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

 * severity:  normal => major


 Replying to [comment:6 hellofromTonya]:
 > 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.

 Thanks for this ... I notice that the manual update documentation says to
 manually erase and replace with new files /wp-admin and /wp-includes -

 If this is still the correct process, then will try this next. Please

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

More information about the wp-trac mailing list