Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Fatal Error in WPML
- This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by Soft79.
- AuthorPosts
- February 9, 2018 at 11:28 am #2645daniel.mooreParticipant
I’m using the free product auto added coupon, whenever you try and do this in another language (multilingual support through WPML) I get the following error:
Fatal error: Uncaught exception ‘Exception’ with message ‘Cannot wrap ‘ in wp-content/plugins/woocommerce-auto-added-coupons-pro/includes/WJECF_WC.php:56 Stack trace: #0 wp-content/plugins/woocommerce-auto-added-coupons-pro/woocommerce-jos-autocoupon-pro.php(78): WJECF_WC->wrap(false) #1 wp-content/plugins/woocommerce-auto-added-coupons-pro/includes/pro/WJECF_Pro_Free_Products/WJECF_Pro_Free_Products.php(550): WJECF_Wrap(false) #2 wp-content/plugins/woocommerce-auto-added-coupons-pro/includes/pro/WJECF_Pro_Free_Products/WJECF_Pro_Free_Products.php(602): WJECF_Pro_Free_Products->validate_free_product_quantity(false, 1) #3 wp-content/plugins/woocommerce-auto-added-coupons-pro/includes/pro/WJECF_Pro_Free_Products/WJECF_Pro_Free_Products.php(538): WJECF_Pro_Free_Products->set_free_product_amount_in_cart(”, 1) #4 [internal function]: WJECF_Pro_ in wp-content/plugins/woocommerce-auto-added-coupons-pro/includes/WJECF_WC.php on line 56It works fine in English (default language). What does this error mean? How can it be fixed?
February 9, 2018 at 12:18 pm #2648Soft79KeymasterIs it possible that one of the free products has no translation?
- AuthorPosts
- You must be logged in to reply to this topic.