I’m setting up a child theme for Gillion, but get these errors when viewing it in Live Preview:
Warning: array_merge(): Argument #3 is not an array in /wp-includes/widgets.php on line 1159 Warning: array_diff(): Argument #2 is not an array in /wp-includes/widgets.php on line 1160 Warning: Invalid argument supplied for foreach() in /wp-includes/widgets.php on line 1162 Warning: array_merge(): Argument #1 is not an array in /wp-includes/widgets.php on line 1170
These occur even when I upload gillion-child.zip unchanged from the parent theme’s download. Am I doing something wrong? Thanks!
Sorry to hear of the problem you are having.
I visited your shared site but didn’t get any warning message on it so could you please tell me exactly where you are getting it?
Please make sure you are using latest version of PHP on your server by referring the information provided in the following page.
Do you have WP_DEBUG set to true in your wp-config.php file
If you do then please set it to false.
This will hide the warning messages and you will be able to use your site normally.