[wp-trac] [WordPress Trac] #57469: retrieve_widgets(): fatal error when a sidebar's widgets set to null (array is expected)
WordPress Trac
noreply at wordpress.org
Tue Jan 23 09:01:26 UTC 2024
#57469: retrieve_widgets(): fatal error when a sidebar's widgets set to null (array
is expected)
--------------------------+----------------------
Reporter: kesselb | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version: 4.9
Severity: normal | Resolution: invalid
Keywords: php80 close | Focuses:
--------------------------+----------------------
Comment (by janthiel):
Hey there, just came across this issue on a recent WordPress 6.4.2
installation switching a working site with the "Enfold" Theme to "Twenty
Twenty-Four" Theme.
{{{
Uncaught exception (TypeError): “array_merge(): Argument #3 must be of
type array, null given“ at `./wp-includes/widgets.php:1346`.
}}}
If this is a "User Error" I am not aware of any obvious one. The site was
working perfectly fine before.
We switched back to Enfold using WP-CLI but the site remains broken with
the same error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57469#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list