WPIntell

Source evidence

Occasional error message

Gift Cards for WooCommerce · support · 2021-05-20T01:20:00+00:00

mixedsentiment
highseverity
0.94relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 32 rows with source links

21.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mrretail resolved
Hi, Every now and then I get a message from WordPress that says it has detected a fatal error and thus includes a link to go into recovery mode, so I can assess the issue. The site itself always seems to be fine but the error is always something to do with woo gift cards. The latest error is shown below. I’m concerned that this might be happening when someone tries to buy a gift voucher and thus I am missing out on sales. Please tell me what I need to do to stop this from happening? Thank you. Error Details ============= An error of type E_ERROR was caused in line 265 of the file /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woo-giftcards/inc/woo-giftcards-class.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woo-giftcards/inc/woo-giftcards-class.php:265 Stack trace: #0 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-includes/class-wp-hook.php(292): Woo_GiftCards->woo_giftcard_no_shipping(false) #1 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array) #2 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php(146): apply_filters('woocommerce_car...', false) #3 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(151): WC_Gateway_COD->is_available() #4 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/OnboardingPayments.php(38): WC_Payment_Gateways->get_available_payment_gat We have fixed this in the latest update. Sorry to tell you this but the error remains, only now it mentions line 264 instead of 265, see below: Error Details ============= An error of type E_ERROR was caused in line 264 of the file /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woo-giftcards/inc/woo-giftcards-class.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woo-giftcards/inc/woo-giftcards-class.php:264 Stack trace: #0 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-includes/class-wp-hook.php(303): Woo_GiftCards->woo_giftcard_no_shipping(false) #1 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array) #2 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php(146): apply_filters(‘woocommerce_car…’, false) #3 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(154): WC_Gateway_COD->is_available() #4 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/OnboardingPayments.php(38): WC_Payment_Gateways->get_available_payment_gat Thank you for reporting once again. I’ve just released new version 1.5.3 and I believe it should be fixed now. Didn’t hear for a while, so I believe the issue has been fixed in the latest update. I’m closing this thread, you can contact again anytime if the issue persists. Thanks!

Comments

4 shown
ahmadshyk 2021-07-23T17:38:00+00:00

We have fixed this in the latest update.

mrretail 2021-08-09T03:29:00+00:00

Sorry to tell you this but the error remains, only now it mentions line 264 instead of 265, see below: Error Details ============= An error of type E_ERROR was caused in line 264 of the file /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woo-giftcards/inc/woo-giftcards-class.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woo-giftcards/inc/woo-giftcards-class.php:264 Stack trace: #0 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-includes/class-wp-hook.php(303): Woo_GiftCards->woo_giftcard_no_shipping(false) #1 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array) #2 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php(146): apply_filters(‘woocommerce_car…’, false) #3 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(154): WC_Gateway_COD->is_available() #4 /home4/pngmitmy/public_html/goldcoastrelaxationmassageau/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/OnboardingPayments.php(38): WC_Payment_Gateways->get_available_payment_gat

ahmadshyk 2021-08-11T02:05:00+00:00

Thank you for reporting once again. I’ve just released new version 1.5.3 and I believe it should be fixed now.

ahmadshyk 2021-09-11T07:19:00+00:00

Didn’t hear for a while, so I believe the issue has been fixed in the latest update. I’m closing this thread, you can contact again anytime if the issue persists. Thanks!