Title: Widget Area Trashed
Last modified: July 22, 2021

---

# Widget Area Trashed

 *  [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/)
 * Upon installing 5.8 the widget editing area is trashed. The individual widget
   items start out by displaying images of unrelated plugin warnings.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14689005)
 * Try this: [https://wordpress.org/support/topic/cant-edit-posts-after-5-8/#post-14687728](https://wordpress.org/support/topic/cant-edit-posts-after-5-8/#post-14687728)
 *  Thread Starter [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14689860)
 * I installed the classic widgets plugin and it seems to have resolved the problem
   but the underlying issue with the 5.8 release remains. The initial client area
   of the block version of widgets interface should not bee displaying plugin warnings
   and I should not have to be disabling plugins that my site depends upon because
   of a WordPress version update. So while a band aid has resolved my immediate 
   difficulty there is a pending issue with 5.8 that should be resolved and there
   are likely others as well.
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14691119)
 * Regarding the visibility of errors/warnings, have a read here: [https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/)
 * Regarding the changes in 5.8, it tends to be down to the plugin/theme authors
   to test and ensure that their code remains compatible with the latest version
   of WordPress.
 *  Thread Starter [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14691167)
 * That may be the case but should the initial client area of the block version 
   of the widgets interface be displaying unrelated plugin warnings? Is that not
   something that the core WordPress team should be aware of?
    -  This reply was modified 4 years, 10 months ago by [badrobot](https://wordpress.org/support/users/cyouse/).
 *  Thread Starter [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14691246)
 * PS – I have reported the 2 warnings in the duplicator and nextgen plugins on 
   the plugin support pages and indicated WordPress 5.8.
 * [https://wordpress.org/support/topic/invalid-argument-for-foreach-5/](https://wordpress.org/support/topic/invalid-argument-for-foreach-5/)
 * [https://wordpress.org/support/topic/call_user_func_array-error-11/](https://wordpress.org/support/topic/call_user_func_array-error-11/)
    -  This reply was modified 4 years, 10 months ago by [badrobot](https://wordpress.org/support/users/cyouse/).
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14692369)
 * There are over 55,000 plugins in the WordPress plugin repository, so it is a 
   case of WordPress core making changes and then plugin/theme authors need to adjust
   their code to ensure compatibility or their users will look for another plugin/
   theme.
 * If a plugin or theme is not compatible with the version of WordPress used, then
   a warning/error message will be viisble in the admin area of the WordPress dashboard
   so the site admin can take action. Warning and error messages should not be visible
   on the front-end of the website. If site visitors can see these, then set debugging
   to false in `wp-config.php` : `define( 'WP_DEBUG', false );`
 * Good work reporting those errors. I can see that one author has responded and
   confirmed that a plugin update will be released.
 *  Thread Starter [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14693227)
 * OK but the only place the errors were visible where in the new block implementation
   of the widget maintenance interface. Nowhere else. When I activated the classic
   widget plugin my problem went away. Doesn’t that point the finger at the new 
   functionality? Did they leave some localized debugging turned on when it went
   to production like the surgeon leaving the scalpel inside the patient when they
   sew them up?
    -  This reply was modified 4 years, 10 months ago by [badrobot](https://wordpress.org/support/users/cyouse/).
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14694101)
 * My guess is that such conflicts were anticipated, hence the warning to admins
   only in that part of the WordPress dashboard. Also, the Classic Widgets plugin
   is developed by *WordPress Contributors*, the same folks who developed the Classic
   Editor plugin introduced when the Guttenburg block editor was released.
 *  Thread Starter [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14694276)
 * It is really more a case of bad error handling as far as I can see…
 * [https://1drv.ms/u/s!ApWX4x5blZpjgrQwLw0-Yh5RhuEzeg](https://1drv.ms/u/s!ApWX4x5blZpjgrQwLw0-Yh5RhuEzeg)
 *  Thread Starter [badrobot](https://wordpress.org/support/users/cyouse/)
 * (@cyouse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14696475)
 * Here is a screenshot of the client area of the widget management interface that
   is erroneously displaying “garbage” due to inappropriate error handling.
 * [https://drive.google.com/file/d/1j36UQ29WDCD27dvUwAG7-7tJ6ojNx65E/view](https://drive.google.com/file/d/1j36UQ29WDCD27dvUwAG7-7tJ6ojNx65E/view)
 * Below is the text of the “garbage” that consists of the text being displayed.
   Note also that the site’s background is displayed. Again, I reported these warnings
   to the plugin authors but I still contend that the manner in which these warning
   are displayed in the 5.8 version of the new block enabled widget editing interface
   is erroneous and inappropriate.
 * Warning. Invalid argument supplied for foreach() in /home/customer/www/plymouthcountybeekeepers.
   org/public html/wp- content/plugins/nextgen- gallery/products/photocrati nextgen/
   modules/nextgen_gallery_display/module.nextgen on line 108
 * Warning. call user func array() expects parameter 1 to be a valid callback, function‘
   duplicator_global scripts’ not found or invalid function name in /home/customer/
   www/plymouthcountybeekeepers.org/public html/wp-includes/class- wp-hook.php on
   line 303
    -  This reply was modified 4 years, 10 months ago by [badrobot](https://wordpress.org/support/users/cyouse/).

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Widget Area Trashed’ is closed to new replies.

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [badrobot](https://wordpress.org/support/users/cyouse/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/widget-area-trashed/#post-14696475)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
