[wp-trac] [WordPress Trac] #27965: Error in theme customizer if all widget areas are empty
WordPress Trac
noreply at wordpress.org
Tue Apr 22 08:39:53 UTC 2014
#27965: Error in theme customizer if all widget areas are empty
----------------------------+-----------------------------
Reporter: jramon.redondo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.9
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
If all widget areas in a theme are empty (without any widget) then theme
customizer fails with error:
PHP Warning: array_merge(): Argument #3 is not an array in class-wp-
customize-widgets.php on line 403
PHP Warning: Invalid argument supplied for foreach() in class-wp-
customize-widgets.php on line 436
PHP Fatal error: Cannot unset string offsets in class-wp-customize-
widgets.php on line 990
If there is a widget in some area, all runs fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27965>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list