Ajax filter
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Ajax filter’ is closed to new replies.