• Resolved sevun

    (@sevun)


    Hi,


    I use Woocommerce Filter Plugin and Flatsome. I have recently (2month) a fatal error on product page using the widget (filter or text).


    This situation is not acceptable neither Woocommerce nor Flatsome is taking action to resolve it. I have 2 licences activated but are obliged to disable the filter on my website. This situation is not acceptable.


    Thanks

    Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Error given in /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/field/filter/class-abstract-list-component.php:878 Stack trace: #0 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/field/filter/class-abstract-list-component.php(878): count(Object(WP_Error)) #1 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/field/color-list/class-filter-component.php(67): WooCommerce_Product_Filter_Plugin\Field\Filter\Abstract_List_Component->get_product_counts_in_terms(Array) #2 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/field/filter/class-abstract-list-component.php(59): WooCommerce_Product_Filter_Plugin\Field\Color_List\Filter_Component->get_items() #3 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/field/color-list/class-filter-component.php(15): WooCommerce_Product_Filter_Plugin\Field\Filter\Abstract_List_Component->get_base_context() #4 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/templates/product-filters.php(5): WooCommerce_Product_Filter_Plugin\Field\Color_List\Filter_Component->template_render() #5 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/class-template-loader.php(74): include(‘/home/clients/2…’) #6 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/class-template-loader.php(50): WooCommerce_Product_Filter_Plugin\Template_Loader->compile_template(‘product-filters…’, Array, NULL) #7 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/project/class-filter-component.php(80): WooCommerce_Product_Filter_Plugin\Template_Loader->render_template(‘product-filters…’, Array) #8 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/class-filters.php(240): WooCommerce_Product_Filter_Plugin\Project\Filter_Component->template_render() #9 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/widgets/class-filter-widget.php(71): WooCommerce_Product_Filter_Plugin\Filters->print_product_filters(‘25930’, true, Array) #10 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-includes/class-wp-widget.php(394): WooCommerce_Product_Filter_Plugin\Widgets\Filter_Widget->widget(Array, Array) #11 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-includes/widgets.php(835): WP_Widget->display_callback(Array, Array) #12 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/themes/flatsome/woocommerce/layouts/category.php(17): dynamic_sidebar(‘shop-sidebar’) #13 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-includes/template.php(785): require(‘/home/clients/2…’) #14 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/home/clients/2…’, false) #15 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/themes/flatsome/woocommerce/archive-product.php(27): wc_get_template_part(‘layouts/categor…’, ‘left-sidebar’) #16 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-includes/template-loader.php(106): include(‘/home/clients/2…’) #17 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-blog-header.php(19): require_once(‘/home/clients/2…’) #18 /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/index.php(17): require(‘/home/clients/2…’) #19 {main} thrown in /home/clients/2f7795fc4b74cfc0d45f5e5c26cd8ca0/wp-content/plugins/woocommerce-product-filters/includes/field/filter/class-abstract-list-component.php on line 878

    Il y a eu une erreur critique sur ce site.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Flatsome Woocommerce Filter Plugin’ is closed to new replies.