Title: Fata; Errors
Last modified: October 11, 2023

---

# Fata; Errors

 *  [dlclark](https://wordpress.org/support/users/dlclark/)
 * (@dlclark)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fata-errors/)
 * **Subscription renewals are failing:**
 * [Wed Oct 11 12:33:25.132694 2023] [php:error] [pid 70361] [client 73.62.148.77:
   64160] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string
   + string in /Library/WebServer/Documents/GOB_PROD_V2/wp-content/plugins/yith-
   woocommerce-gift-cards/includes/class-yith-ywgc-cart-checkout.php:235\nStack 
   trace:\n#0 /Library/WebServer/Documents/GOB_PROD_V2/wp-content/plugins/yith-woocommerce-
   gift-cards/includes/class-yith-ywgc-cart-checkout.php(253): YITH_YWGC_Cart_Checkout-
   >deduct_amount_from_gift_card(109404, 44079, ‘fall2020’, ”, ”)\n#1 /Library/WebServer/
   Documents/GOB_PROD_V2/wp-includes/class-wp-hook.php(310): YITH_YWGC_Cart_Checkout-
   >deduct_amount_from_gift_card_wc_3_plus(44079, Object(WC_Order_Item_Coupon), 
   109404)\n#2 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/class-wp-hook.
   php(334): WP_Hook->apply_filters(NULL, Array)\n#3 /Library/WebServer/Documents/
   GOB_PROD_V2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#4 /Library/
   WebServer/Documents/GOB_PROD_V2/wp-content/plugins/woocommerce/includes/wc-order-
   item-functions.php(39): do_action(‘woocommerce_new…’, 44079, Object(WC_Order_Item_Coupon),
   109404)\n#5 /Library/WebServer/Documents/GOB_PROD_V2/wp-content/plugins/woocommerce-
   subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-order-functions.
   php(197): wc_add_order_item(109404, Array)\n#6 /Library/WebServer/Documents/GOB_PROD_V2/
   wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-
   core/includes/wcs-renewal-functions.php(29): wcs_create_order_from_subscription(
   Object(WC_Subscription), ‘renewal_order’)\n#7 /Library/WebServer/Documents/GOB_PROD_V2/
   wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-
   core/includes/admin/class-wcs-admin-meta-boxes.php(257): wcs_create_renewal_order(
   Object(WC_Subscription))\n#8 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/
   class-wp-hook.php(310): WCS_Admin_Meta_Boxes::create_pending_renewal_action_request(
   Object(WC_Subscription))\n#9 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/
   class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)\n#10 /Library/WebServer/
   Documents/GOB_PROD_V2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\
   n#11 /Library/WebServer/Documents/GOB_PROD_V2/wp-content/plugins/woocommerce/
   includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(173): do_action(‘
   woocommerce_ord…’, Object(WC_Subscription))\n#12 /Library/WebServer/Documents/
   GOB_PROD_V2/wp-includes/class-wp-hook.php(310): WC_Meta_Box_Order_Actions::save(
   79594, Object(WP_Post))\n#13 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/
   class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)\n#14 /Library/WebServer/
   Documents/GOB_PROD_V2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\
   n#15 /Library/WebServer/Documents/GOB_PROD_V2/wp-content/plugins/woocommerce/
   includes/admin/class-wc-admin-meta-boxes.php(263): do_action(‘woocommerce_pro…’,
   79594, Object(WP_Post))\n#16 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/
   class-wp-hook.php(312): WC_Admin_Meta_Boxes->save_meta_boxes(79594, Object(WP_Post))\
   n#17 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/class-wp-hook.php(334):
   WP_Hook->apply_filters(NULL, Array)\n#18 /Library/WebServer/Documents/GOB_PROD_V2/
   wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#19 /Library/WebServer/
   Documents/GOB_PROD_V2/wp-includes/post.php(4751): do_action(‘save_post’, 79594,
   Object(WP_Post), true)\n#20 /Library/WebServer/Documents/GOB_PROD_V2/wp-includes/
   post.php(4853): wp_insert_post(Array, false, true)\n#21 /Library/WebServer/Documents/
   GOB_PROD_V2/wp-admin/includes/post.php(445): wp_update_post(Array)\n#22 /Library/
   WebServer/Documents/GOB_PROD_V2/wp-admin/post.php(227): edit_post()\n#23 {main}\
   n thrown in /Library/WebServer/Documents/GOB_PROD_V2/wp-content/plugins/yith-
   woocommerce-gift-cards/includes/class-yith-ywgc-cart-checkout.php on line 235,
   referer: [https://goodoldboat.com/wp-admin/post.php?post=79594&action=edit](https://goodoldboat.com/wp-admin/post.php?post=79594&action=edit)
   [
   Wed Oct 11 12:39:57.579944 2023] [access_compat:error] [pid 70517] [client 207.254.50.245:
   61199] AH01797: client denied by server configuration: /Library/WebServer/Documents/
   GOB_PROD/wp-content/uploads/woocommerce_uploads/[Wed

Viewing 1 replies (of 1 total)

 *  [Fran Mendoza](https://wordpress.org/support/users/franmglez92/)
 * (@franmglez92)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fata-errors/#post-17126275)
 * Hi there,
   thanks for contacting us!
 * Unfortunately, the Gift Card plugin is not integrated with the WooCommerce Subscription
   plugin and the gift card codes should be not used in the purchase of subscription
   products, to avoid any possible error like the ones you are having. At the moment,
   only is possible to use the gift cards with subscription created with the YITH
   Subscriptions plugin.
 * If you have any doubts let us know and we will be happy to help you.
    Have a 
   nice day!

Viewing 1 replies (of 1 total)

The topic ‘Fata; Errors’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-gift-cards/assets/icon-256x256.gif?rev=
   3227932)
 * [YITH WooCommerce Gift Cards](https://wordpress.org/plugins/yith-woocommerce-gift-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-gift-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fran Mendoza](https://wordpress.org/support/users/franmglez92/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/fata-errors/#post-17126275)
 * Status: not resolved