CRITICAL Uncaught Error: Call to a member function get_items()
-
WooCommerce is producing this error when trying to complete checkout. Any help would be appreciated as customers cannot complete a purchase at the moment.
2021-03-25T14:19:35+00:00 CRITICAL Uncaught Error: Call to a member function get_items() on bool in /home/customer/www/ablenet.co.uk/public_html/wp-content/plugins/pw-gift-cards/includes/pw-gift-cards-redeeming.php:271
Stack trace:
#0 /home/customer/www/ablenet.co.uk/public_html/wp-content/plugins/pw-gift-cards/includes/pw-gift-cards-redeeming.php(237): PW_Gift_Cards_Redeeming->debit_gift_cards(0, false, ‘order_id: 0 pro…’)
#1 /home/customer/www/ablenet.co.uk/public_html/wp-includes/class-wp-hook.php(292): PW_Gift_Cards_Redeeming->woocommerce_checkout_update_order_meta(0, Array)
#2 /home/customer/www/ablenet.co.uk/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#3 /home/customer/www/ablenet.co.uk/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /home/customer/www/ablenet.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(396): do_action(‘woocommerce_che…’, 0, Array)
#5 /home/customer/www/ablenet.co.uk/public_html/wp-content/plugins/woocommerce/includes/cl in /home/customer/www/ablenet.co.uk/public_html/wp-content/plugins/pw-gift-cards/includes/pw-gift-cards-redeeming.php on line 271
- The topic ‘CRITICAL Uncaught Error: Call to a member function get_items()’ is closed to new replies.