Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #2645

    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 56

    It works fine in English (default language). What does this error mean? How can it be fixed?


    Is it possible that one of the free products has no translation?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.