Fatal Error after plugin update
-
After updating the plugin getting fatal error
[11-Aug-2020 09:13:18 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function xoo_wsc_suggested_product_addtocart_link(), 2 passed in /home/********/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /home/********/public_html/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-wsc-functions.php:56
Stack trace:
#0 /home/********/public_html/wp-includes/class-wp-hook.php(287): xoo_wsc_suggested_product_addtocart_link(‘<a href=”?add-t…’, Object(WC_Product_Simple))
#1 /home/********/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘<a href=”?add-t…’, Array)
#2 /home/********/public_html/wp-content/themes/porto/woocommerce/loop/add-to-cart.php(70): apply_filters(‘woocommerce_loo…’, ‘<a href=”?add-t…’, Object(WC_Product_Simple))
#3 /home/********/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(344): include(‘/home/********/p…’)
#4 /home/********/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1268): wc_get_template(‘loop/a in /home/********/public_html/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-wsc-functions.php on line 56The page I need help with: [log in to see the link]
- The topic ‘Fatal Error after plugin update’ is closed to new replies.