Replies: 0
I activated the plugin on my website and now I have the following error on the product page:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wwop::wwop_whatsapp_after_addtocart_button_func(), 0 passed in /home/xxxx/public_html/zzzzz/wp-content/plugins/woo-whatsapp-order/woo-whatsapp-order.php on line 22 and at least 1 expected in /home/xxxxx/public_html/zzzzz/wp-content/plugins/woo-whatsapp-order/class_wwop_main.php:31 Stack trace: #0 /home/xxxxx/public_html/zzzzzz/wp-content/plugins/woo-whatsapp-order/woo-whatsapp-order.php(22): wwop::wwop_whatsapp_after_addtocart_button_func() #1 /home/xxxxx/public_html/zzzzz/wp-includes/class-wp-hook.php(286): WWOP_whatsapp_price_empty('', Object(WC_Product_Variation)) #2 /home/xxxxx/public_html/barukar/wp-includes/plugin.php(208): WP_Hook->apply_filters('', Array) #3 /home/xxxxx/public_html/zzzz/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1740): apply_filters('woocommerce_get...', '', Object(WC_Product_Variation)) #4 /home/xxxxx/public_html/zzzz/wp-content/plugins/woocommerce/templates/lo in /home/xxxx/public_html/zzzzzz/wp-content/plugins/woo-whatsapp-order/class_wwop_main.php on line 31