Fatal Error
-
Hi,
I have your plugin used on a number of products to display free text for the user to add a note. This was working correctly, up until a couple of days ago when some plugins were updated…now for any products which contains variations the following error is coming up.
We are running WordPress v5.7.1 and Woocommerce 5.2.2
Fatal error: Uncaught Error: Call to a member function get_category_ids() on bool in /home/customer/www/XXXX/public_html/wp-content/plugins/product-add-ons-woocommerce/includes/Model/Group.php:344 Stack trace: #0 /home/customer/www/XXXX/public_html/wp-content/plugins/product-add-ons-woocommerce/includes/Frontend/Product.php(522): ZAddons\Model\Group::getByProduct(false, false, true) #1 /home/customer/www/XXXX/public_html/wp-includes/class-wp-hook.php(294): ZAddons\Frontend\Product->add_to_cart_validation(true, '0') #2 /home/customer/www/XXXX/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array) #3 /home/customer/www/XXXX/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(904): apply_filters('woocommerce_add...', true, 51950, 1, '', Array) #4 /home/customer/www/coral.shopping/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(790): WC_Form_Handler::add_to_cart_handler_variable(51950) #5 /home/custo in /home/customer/www/XXXX/public_html/wp-content/plugins/product-add-ons-woocommerce/includes/Model/Group.php on line 344
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal Error’ is closed to new replies.