• 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

    (@lilaeamedia)

    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.