Sidebar error after updating x theme

Hi there
after updating the theme to the last version I get this error in top of all sidebars:
https://www.yourboatholiday.com/destinations/caribbean-yacht-charter/

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/yourboat/public_html/wp-content/themes/x/framework/functions/custom-sidebars.php on line 86

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/yourboat/public_html/wp-content/themes/x/framework/functions/custom-sidebars.php on line 86

Please help

thanks a lot

1 Like

Hi Giuligiuli,

I’m sorry you’re encountering this issue. The PHP warning you’re seeing is a known issue with the recent Pro 2.5.0 we are working on fixing. For now you can go into wp-config.php and make sure WP_DEBUG is not set to true. Here is an example of setting it to false.

define( 'WP_DEBUG', false );

The next update will most likely be out tomorrow and will include a fix for that issue.

Update: Alternatively, you can just go to custom sidebars and save the sidebar again without changing anything. This should prevent the error from happening.

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