X 9.0.5 breaks funnytimes.com

Please add benjamin@media-schmedia.com to the notification chain for responses to this thread.

Hey all, fyi when I updated funnytimes.com to 9.0.5 around noon today, I got the following error message on all pages with a sidebar:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Themeco\Theme\Theme::{closure}(), 1 passed in /home/funnyt/public_html/wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in /home/funnyt/public_html/wp-content/themes/x/framework/legacy/setup.php:54

Stack trace:
#0 /home/funnyt/public_html/wp-includes/class-wp-hook.php(303): Themeco\Theme\Theme->{closure}(’<form role="sea…’)
#1 /home/funnyt/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(’<form role="sea…’, Array)
#2 /home/funnyt/public_html/wp-content/plugins/category-wise-search/category-wise-search.php(58): apply_filters(‘get_search_form’, ‘<form role="sea…’)
#3 /home/funnyt/public_html/wp-includes/class-wp-widget.php(393): Category_Wise_Search_Widget->widget(Array, Array)
#4 /home/funnyt/public_html/wp-includes/widgets.php(831): WP_Widget->display_callback(Array, Array)
#5 /home/funnyt/public_html/wp-content/themes/x/framework/views/renew/wp-sidebar.php(15): dynamic_sidebar(‘sidebar-main’)
#6 /home/funnyt/publi in /home/funnyt/public_html/wp-content/themes/x/framework/legacy/setup.php on line 54

Promptly reverted to tried-n-true 8.3.3 and all is fine for now, but please lmk when 9.X.X is safe to install.

Hi @Funnytimes,

Thanks for reaching out.
I have checked your website and found that the Cornerstone has been already updated to 6.0.5 whereas the X is still in the 8.3.3 version. I would suggest you update the theme by following the below steps.

  1. Delete the existing Cornerstone
  2. Update the X theme to the latest version by downloading from your Themeco Account
  3. After the X theme is updated, use the link in the dashboard to automatically install the Cornerstone. It will be at the latest version

You can also copy your live site to a staging server and update the theme into it. If everything works fine, migrate the staging server to Live server.

Hope it helps.
Thanks

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