Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

getting error while using payment_gateways()

$
0
0

Replies: 0

Hi Team,

I was using the function WC()->payment_gateways->payment_gateways()[‘payment_id’] and it was working fine. Later we have added new plugin which is woocommerce-gateway-paypal-express-checkout.(https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/). Then we are experiencing an error. Call to a member function get_base_country() on null

Fatal error: Uncaught Error: Call to a member function get_base_country() on null in C:\wamp64\www\slimcd\wp-content\plugins\woocommerce-gateway-paypal-express-checkout\includes\class-wc-gateway-ppec-ips-handler.php on line 102

Someone kindly advice me, how to resolve this


Viewing all articles
Browse latest Browse all 59525

Trending Articles