Home › Forums › Gillion Theme › Child theme has "array_merge():" errors in widgets.php
Home › Forums › Gillion Theme › Child theme has "array_merge():" errors in widgets.php
Hello,
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!
Hi @Tré,
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.
https://www.wikihow.com/Check-PHP-Version
http://php.net/supported-versions.php
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.
Best regards,
Shufflehound team
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.