Site broken after switching from X to Pro

Warning: array_merge(): Expected parameter 3 to be an array, null given in /home/ksconst/public_html/wp-includes/widgets.php on line 1211

Warning: array_diff(): Expected parameter 2 to be an array, null given in /home/ksconst/public_html/wp-includes/widgets.php on line 1212

Warning: Invalid argument supplied for foreach() in /home/ksconst/public_html/wp-includes/widgets.php on line 1214

Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/ksconst/public_html/wp-includes/widgets.php on line 1222

Fatal error: Uncaught Error: Call to undefined function x_module_conditions() in /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/mixins_setup/bar.php:51 Stack trace: #0 /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/mixins_includes/bar.php(105): include() #1 /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/mixins_elements/bar.php(79): x_values_bar() #2 /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/definitions/bar.php(22): x_values_element_bar() #3 /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/definitions.php(18): require_once(’/home/ksconst/p…’) #4 /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/setup.php(193): require_once(’/home/ksconst/p…’) #5 /home/ksconst/public_html/wp-includes/class-wp-hook.php(286): x_bars_element_setup(’’) #6 /home/ksconst/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(’’, Array) #7 /home/kscon in /home/ksconst/public_html/wp-content/themes/pro/framework/functions/pro/bars/mixins_setup/bar.php on line 51
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

Hi @nolannp11,

Thank you for writing in, please do the following:

  • Ensure that you are fully up to date. WordPress, Theme, and Cornerstone (Version Compatibility)

  • Clear all the site caches (plugin, server-side, CDN, and browser’s cache) so that the code from the latest release is always in use. This will help you to avoid any potential errors. Please deactivate this caching features while we tackle this issue.

  • Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

If the issue persists, please provide us login credentials in a secure note so we can take a closer look.


Fixed the Issue. The Cornerstone plugin was causing the error, deactivating it before switching to Pro was the solution.

Hey @nolannp11,

We’re glad that your issue was fixed. Pro will deactivate Cornerstone upon activation but not sure why it was not deactivated in your site.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.