Occasional error message
-
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
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Occasional error message’ is closed to new replies.