[wp-trac] [WordPress Trac] #55240: Fatal Error: Cannot redeclare wp_render_duotone_filter_preset()
WordPress Trac
noreply at wordpress.org
Wed Feb 23 18:36:36 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 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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55240#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list