Title: Array Warnings
Last modified: March 15, 2018

---

# Array Warnings

 *  [fdwebb2017](https://wordpress.org/support/users/fdwebb2017/)
 * (@fdwebb2017)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/array-warnings/)
 * Hello,
 * I get the following array warnings when trying to create a child theme with your
   plugin version 2.2.9.
 * Warning: array_merge(): Argument #8 is not an array in /home/…/public_html/wp-
   includes/widgets.php on line 1159
 * Warning: array_diff(): Argument #2 is not an array in /home/…/public_html/wp-
   includes/widgets.php on line 1160
 * Warning: Invalid argument supplied for foreach() in /home/…/public_html/wp-includes/
   widgets.php on line 1162
 * Warning: array_merge(): Argument #1 is not an array in /home/…/public_html/wp-
   includes/widgets.php on line 1170
 * Would you please tell me what the errors mean and possibly how to fix? My theme
   is Generatepress Premium and all plugins have been disabled except for under 
   construction and simple ssl. I only have a few menu options set up like home,
   shop, site title, but no content other than that. I used firefox browser on my
   PC. I tried to configure and analyze with default settings (primary stylesheet&
   don’t add parent stylesheet handling, then tried it with use wordpress style 
   queue). Tried running it 3 times, but warnings continue. Any help would be appreciated.
 * Thank you very much,
    Felicia

Viewing 1 replies (of 1 total)

 *  Plugin Author [lilaeamedia](https://wordpress.org/support/users/lilaeamedia/)
 * (@lilaeamedia)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/array-warnings/#post-10078111)
 * Try going to Appearance > Themes and clicking “Live Preview” under the panel 
   for the new child theme.
 * If the error appears, there is a problem with the way the theme is populating
   its widgets array and you will need to contact the theme developer.
 * If not, go back to CTC and run the analyzer again, using the “Existing Child 
   Theme” option and the problem should go away.
 * This is the second report of this behavior, so I am going to investigate on my
   end as well.

Viewing 1 replies (of 1 total)

The topic ‘Array Warnings’ is closed to new replies.

 * ![](https://ps.w.org/child-theme-configurator/assets/icon-128x128.png?rev=1557885)
 * [Child Theme Configurator](https://wordpress.org/plugins/child-theme-configurator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/child-theme-configurator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/child-theme-configurator/)
 * [Active Topics](https://wordpress.org/support/plugin/child-theme-configurator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/child-theme-configurator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/child-theme-configurator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lilaeamedia](https://wordpress.org/support/users/lilaeamedia/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/array-warnings/#post-10078111)
 * Status: not resolved