Product Icon

Free Gifts for WooCommerce

Offer Free Gifts to your customers for making purchases in your WooCommerce Shop.

Gives error upon translation

I’m using this plugin and WPML on my website. If you’ve a free product added in to your cart and then try to change the language, it gives critical error.

The error in debug is below:

Stack trace:
#0 /home/fdh2zyqsf0jx/public_html/wp-content/plugins/free-gifts-for-woocommerce/inc/frontend/class-fgf-rule-handler.php(541): FGF_Rule_Handler::bogo_rule_products()
#1 /home/fdh2zyqsf0jx/public_html/wp-content/plugins/free-gifts-for-woocommerce/inc/frontend/class-fgf-rule-handler.php(174): FGF_Rule_Handler::matched_rules()
#2 /home/fdh2zyqsf0jx/public_html/wp-content/plugins/free-gifts-for-woocommerce/inc/frontend/class-fgf-rule-handler.php(224): FGF_Rule_Handler::prepare_matched_rule_gift_products()
#3 /home/fdh2zyqsf0jx/public_html/wp-content/plugins/free-gifts-for-woocommerce/inc/frontend/class-fgf-gift-products-handler.php(390): FGF_Rule_Handler::get_automatic_gift_products()
#4 /home/fdh2zyqsf0jx/public_html/wp-content/plugins/free-gifts-for-woocommerce/inc/frontend/class-fgf-gift-products-handler.php(179): FG in /home/fdh2zyqsf0jx/public_html/wp-content/plugins/free-gifts-for-woocommerce/inc/frontend/class-fgf-rule-handler.php on line 878
[05-Sep-2022 11:36:08 UTC] PHP Notice: Undefined index: 2dea61eed4bceec564a00115c4d21334 in /home/fdh2zyqsf0jx/public_html/wp-content/plugins/wallet-system-for-woocommerce/public/class-wallet-system-for-woocommerce-public.php on line 690
[05-Sep-2022 11:36:08 UTC] PHP Notice: Trying to access array offset on value of type null in /home/fdh2zyqsf0jx/public_html/wp-content/plugins/wallet-system-for-woocommerce/public/class-wallet-system-for-woocommerce-public.php on line 691

Screenshots

Author

moody4727

Current Status

Open

Last updated: December 18, 2022

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.