Title: Ajax filter
Last modified: January 4, 2022

---

# Ajax filter

 *  Resolved [monigo](https://wordpress.org/support/users/monigo/)
 * (@monigo)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/ajax-filter-8/)
 * I like using the WooCommerce Product Filter Plugin. It works well. Recently, 
   I have been seeing a php error in my console
    My company does not sell the products,
   and replace Add to Cart button in the product page and catalog. User can’t buy
   anything after using the product filter.Maybe this error is coming because of
   how the plugin replaces the Add to Cart button.
 *     ```
       Object
       component: \"Plugin: woo-product-filter\"
       file: \"wp-content/plugins/woo-product-filter/modules/woofilters/mod.php\"
       line: 1562
       message: \"call_user_func_array() expects parameter 1 to be a valid callback, class not found\"
       stack: Array(9)
       0: \"WoofiltersWpf->YITH_hide_add_to_cart_loop()\"
       1: \"apply_filters(\'woocommerce_loop_add_to_cart_link\')\"
       2: \"wc_get_template()\"
       3: \"woocommerce_template_loop_add_to_cart()\"
       4: \"do_action(\'woocommerce_after_shop_loop_item\')\"
       5: \"load_template(\'wp-content/plugins/woocommerce/templates/content-product.php\')\"
       6: \"wc_get_template_part()\"
       7: \"WoofiltersControllerWpf->filtersFrontend()\"
       8: \"do_action(\'wp_ajax_filtersFrontend\')\"
       length: 9
       Prototype: Array(0)
       type: \"warning\"
       Prototype: Object
       ```
   
 * Everything seems to work ok. Product filter and other functions, but it’s not
   good that \”PHP errors were triggered during an Ajax request.\”

Viewing 1 replies (of 1 total)

 *  Plugin Author [WBW Plugins](https://wordpress.org/support/users/woobewoo/)
 * (@woobewoo)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/ajax-filter-8/#post-15226233)
 * Hello [@monigo](https://wordpress.org/support/users/monigo/),
 * Please provide a link to the site, or better to a page where we can test it.
 * See also: [https://woobewoo.com/feature/ajax-live-search/](https://woobewoo.com/feature/ajax-live-search/)

Viewing 1 replies (of 1 total)

The topic ‘Ajax filter’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-product-filter_a0a6df.svg)
 * [Product Filter for WooCommerce by WBW](https://wordpress.org/plugins/woo-product-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-filter/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [product filter](https://wordpress.org/support/topic-tag/product-filter/)
 * [product search](https://wordpress.org/support/topic-tag/product-search/)
 * [shop filter](https://wordpress.org/support/topic-tag/shop-filter/)
 * [WooCommerce Filter](https://wordpress.org/support/topic-tag/woocommerce-filter/)

 * 1 reply
 * 2 participants
 * Last reply from: [WBW Plugins](https://wordpress.org/support/users/woobewoo/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/ajax-filter-8/#post-15226233)
 * Status: resolved