Warning: array_merge(): Argument #2 is not an array in wp-includes/load.php on line 63

When using PHP 7 together with X theme, I get this error: Warning: array_merge(): Argument #2 is not an array in /home/mortenhi/public_html/wp-includes/load.php on line 63

The error can be seen at the top of my page https://mortenhilmer.com

I have tried to disabled all plugins but the samme error occur.
Only when switching to the default theme, I can get the message to disappear.

As soon as I activate x-theme I get the error.

Hope you can help me.

Hi there,

You may try to disable the WP_DEBUG option in the wp-config.php file so that the warning messages will not be shown.

Seriously? This is your solution? I get the same error. SiteGround hosting. PHP 7.2

Hello There,

Thanks for updating this thread. This is not a solution. It is merely a way to get rid of the PHP Warning. A warning may occur when a variable in your theme settings is null or not yet initialized. Could you please confirm that you have updated to the latest versions?
Our latest versions are:

  • Pro theme 2.2.5
  • X theme 6.2.5
  • Cornerstone 3.2.5

This latest release contains fixes for several issues so be sure to check out the changelog (http://theme.co/changelog/).

_After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.-

Please let us know how it goes.