Title: errors after upgrading
Last modified: November 23, 2017

---

# errors after upgrading

 *  [gabitech](https://wordpress.org/support/users/gabitech/)
 * (@gabitech)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-after-upgrading-4/)
 * After upgrading both the theme and the WP to 4.9 I’m getting the follwing errors
   when activating WP Bootstrap Starter in the themes page:
    ———– Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: Invalid
   argument supplied for foreach() in /widgets.php on line 1322 Warning: array_merge()[
   function.array-merge]: Argument #1 is not an array in /widgets.php on line 1159
   Warning: array_diff() [function.array-diff]: Argument #2 is not an array in /
   widgets.php on line 1160 Warning: Invalid argument supplied for foreach() in /
   widgets.php on line 1162 Warning: array_merge() [function.array-merge]: Argument#
   1 is not an array in /widgets.php on line 1170 Warning: Cannot modify header 
   information – headers already sent by (output started at /widgets.php:1322) in/
   wp-admin/includes/misc.php on line 1114 ———–
 * Any advice would be much appreciated,
    Gabriel

Viewing 1 replies (of 1 total)

 *  Theme Author [Afterimage Designs](https://wordpress.org/support/users/afterimagedesigns/)
 * (@afterimagedesigns)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-after-upgrading-4/#post-9727764)
 * Hi gabitech,
 * I already check the theme but I can not find any code that may cause this issue,
   I suggest to disable all your plugins or if you have a custom code in your functions.
   php please try to remove it.

Viewing 1 replies (of 1 total)

The topic ‘errors after upgrading’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/wp-bootstrap-starter/3.3.6/screenshot.
   png)
 * WP Bootstrap Starter
 * [Support Threads](https://wordpress.org/support/theme/wp-bootstrap-starter/)
 * [Active Topics](https://wordpress.org/support/theme/wp-bootstrap-starter/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/wp-bootstrap-starter/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/wp-bootstrap-starter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Afterimage Designs](https://wordpress.org/support/users/afterimagedesigns/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/errors-after-upgrading-4/#post-9727764)
 * Status: not resolved