Error occurs after theme update

After updating to version 25, the same error as the attached file occurs.

What's going on?

How can I fix it?




Notice: Constant DISALLOW_FILE_EDIT already defined in /***/www/wp-config.php on line 93 Notice: Constant WP_POST_REVISIONS already defined in /***/www/wp-config.php on line 94 Notice: Constant EMPTY_TRASH_DAYS already defined in /***/www/wp-config.php on line 97

Edit widget: Muffin Shop Attributes Add widget: Muffin Shop Attributes Edit Add Muffin Shop Attributes

Muffin Shop Attributes

Fatal error: Uncaught Error: Call to undefined function wc_get_attribute_taxonomies() in /***/www/wp-content/themes/betheme/functions/widgets/class-mfn-widget-attributes.php:122 Stack trace: #0 /***/www/wp-includes/class-wp-widget.php(534): Mfn_Widget_Attributes->form(Array) #1 /***/www/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array) #2 /***/www/wp-includes/class-wp-customize-widgets.php(1122): wp_widget_control(Array, Array) #3 /***/www/wp-includes/class-wp-customize-widgets.php(1070): WP_Customize_Widgets->get_widget_control(Array) #4 /***/www/wp-includes/class-wp-customize-widgets.php(712): WP_Customize_Widgets->get_available_widgets() #5 /***/www/wp-includes/class-wp-hook.php(303): WP_Customize_Widgets->enqueue_scripts('') #6 /***/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #7 /***/www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #8 /***/www/wp-admin/customize.php(123): do_action('customize_contr...') #9 {main} thro in /***/www/wp-content/themes/betheme/functions/widgets/class-mfn-widget-attributes.php on line 122

There has been a critical error on this website. Please check your site admin email inbox for instructions.

Comments

  • Hello,

    The problem with the Appearance -> Customize will be fixed in the update which will be released in a moment, so please, update the theme when it will be available and the problem will be fixed - it's related to the widget item, when woocommerce is disabled, then this error appears.

    Thanks

Sign In or Register to comment.