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

WordPress Trac noreply at wordpress.org
Wed Feb 23 18:49:01 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:  needs-testing  |     Focuses:
---------------------------+---------------------

Comment (by etilley):

 Replying to [comment:3 swissspidy]:
 > > For the moment I don't know if we need to fix this on Core or
 Gutenberg side (or both).
 >
 > I think neither.
 >
 > This sounds like a botched update.
 >
 > `wp_render_duotone_filter_preset` used to be in `duotone.php` in 5.9.0,
 but was moved to `deprecated.php` in 5.9.1
 >
 > For some reason the `duotone.php` file was not updated for you during
 the 5.9.1 update.
 >
 > If there is a way for you to re-run the update (for example using WP-
 CLI) or to manually override that `duotone.php` file, that should help fix
 the problem.

 I can upload new 5.9.1 files easily. Which file(s) did not get updated
 correctly?

 I'm afraid that I don't understand what you mean by "override the
 duotone.php file" ?

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


More information about the wp-trac mailing list