Support » Plugin: WooCommerce » Fatal error on returning to website after payment

  • I hope someone might have seen this issue before and can point me in the right direction… All plug-ins and theme are up to date. I replaced my domain info in the path with ‘xxxx’ 😉

     [08-Sep-2016 09:08:59 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_base_country() on null in /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:84
    Stack trace:
    #0 /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(67): WC_Payment_Gateways->init()
    #1 /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(40): WC_Payment_Gateways->__construct()
    #2 /home/xxxx/domains/xxxx.com/public_html/wp-includes/plugin.php(524): WC_Payment_Gateways::instance('wc_gateway_payp...')
    #3 /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php(94): do_action('woocommerce_api...', 'wc_gateway_payp...')
    #4 /home/xxxx/domains/xxxx.com/public_html/wp-includes/plugin.php(600): WC_API->handle_api_requests(Object(WP))
    #5 /home/xxxx/domains/xxxx in /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php on line 84
  • The topic ‘Fatal error on returning to website after payment’ is closed to new replies.