Critical error in Widgets page
-
For some reason your plugin out of the sudden is braking my wp widgets page. (wp-admin/widgets.php)
Check this picture: https://ibb.co/sFNL0xT
If I disable your plugin the widgets page works, but without the filters of cource.
Whats happening? I want to continue adding products and new filters but right now the widgets page says “A critical error has occurred on the site. Check your admin email inbox for instructions.”
Please help me…
The page I need help with: [log in to see the link]
-
If I check this and hide the filters, then the widgets page works again…
Check this image: https://ibb.co/dg2jgpRWhat’s the matter?
I would really appreciate your help.Can someone please help me?
I am stuck until I solve this…Hello,
Please check PHP error log or WordPress debug log for fatal errors or any other error that cause this issue.
Regards,
OlegHi same issue here this is the issue error log.
023-06-16T12:02:54+00:00 CRITICAL Uncaught Error: Call to undefined function wc_print_notice() in /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce/templates/loop/no-products-found.php:22 Stack trace: #0 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3331): wc_get_template('loop/no-product...') #2 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce-ajax-filters/main.php(1733): wc_no_products_found() #3 /data/sites/web/tascoshopeu/www/wp-includes/class-wp-hook.php(308): BeRocket_AAPF->include_all_scripts('') #4 /data/sites/web/tascoshopeu/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #5 /data/sites/web/tascoshopeu/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce-ajax-filters/includes/filters/display_widget.php(621): do_action('br_footer_scrip...') #7 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce-ajax-filters/includes/new_widget.php(206): BeRocket_AAPF_Widget->__construct(Array, Array) #8 /data/sites/web/tascoshopeu/www/wp-includes/widgets.php(1257): BeRocket_new_AAPF_Widget_single->widget(Array, Array) #9 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce-ajax-filters/includes/new_widget.php(45): the_widget('BeRocket_new_AA...', Array, Array) #10 /data/sites/web/tascoshopeu/www/wp-includes/widgets.php(1257): BeRocket_new_AAPF_Widget->widget(Array, Array) #11 /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce-ajax-filters/includes/custom_post.php(807): the_widget('BeRocket_new_AA...', Array) #12 /data/sites/web/tascoshopeu/www/wp-includes/shortcodes.php(355): BeRocket_AAPF_group_filters->shortcode(Array, '', 'br_filters_grou...') #13 [internal function]: do_shortcode_tag(Array) #14 /data/sites/web/tascoshopeu/www/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(br_fil...', 'do_shortcode_ta...', '<p>[br_filters_...') #15 /data/sites/web/tascoshopeu/www/wp-includes/class-wp-hook.php(310): do_shortcode('<p>[br_filters_...') #16 /data/sites/web/tascoshopeu/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p>[br_filters_...', Array) #17 /data/sites/web/tascoshopeu/www/wp-includes/widgets/class-wp-widget-block.php(78): apply_filters('widget_block_co...', '<!-- wp:shortco...', Array, Object(WP_Widget_Block)) #18 /data/sites/web/tascoshopeu/www/wp-includes/class-wp-widget.php(394): WP_Widget_Block->widget(Array, Array) #19 /data/sites/web/tascoshopeu/www/wp-includes/widgets.php(2022): WP_Widget->display_callback(Array, Array) #20 /data/sites/web/tascoshopeu/www/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(697): wp_render_widget('block-232', 'astra-woo-shop-...') #21 /data/sites/web/tascoshopeu/www/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(154): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request)) #22 /data/sites/web/tascoshopeu/www/wp-includes/rest-api/class-wp-rest-server.php(1181): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request)) #23 /data/sites/web/tascoshopeu/www/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/widgets', Array, NULL) #24 /data/sites/web/tascoshopeu/www/wp-includes/rest-api.php(535): WP_REST_Server->dispatch(Object(WP_REST_Request)) #25 /data/sites/web/tascoshopeu/www/wp-includes/rest-api.php(2889): rest_do_request(Object(WP_REST_Request)) #26 [internal function]: rest_preload_api_request(Array, '/wp/v2/widgets?...') #27 /data/sites/web/tascoshopeu/www/wp-includes/block-editor.php(634): array_reduce(Array, 'rest_preload_ap...', Array) #28 /data/sites/web/tascoshopeu/www/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context)) #29 /data/sites/web/tascoshopeu/www/wp-admin/widgets.php(32): require('/data/sites/web...') #30 {main} thrown in /data/sites/web/tascoshopeu/www/wp-content/plugins/woocommerce/templates/loop/no-products-found.php op de lijn 22https://pasteboard.co/NEgvtxCn8Yki.png
Hope this helps
Hello,
Please update plugin to latest version.
Regards,
OlegIt’s fixed now. Thanks a lot for the support. I appreciate you!
Have a nice week!
The topic ‘Critical error in Widgets page’ is closed to new replies.