Child theme has "array_merge():" errors in widgets.php

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Tré
    Participant

    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

Viewing 2 posts - 1 through 2 (of 2 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form