Fatal error: Uncaught Error: Call to a member function get_title()
-
Hello, I’ve got WP Multisite with 3 shops with one Woocommerce global cart plugin.
I use the PAYPAL PLUS (Version 2.1.2 ) plugin.When i add the products from one shop – all works super.
If i add any products from different shops together into the shopping cart, on the checkout page i’ve got the fatal error message from paypal plus:
function get_title() on bool in /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/src/Payment/CartItemData.php:75 Stack trace: #0 /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/src/Payment/OrderDataTrait.php(85): WCPayPalPlus\Payment\CartItemData->get_name() #1 /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/src/Payment/OrderDataTrait.php(70): WCPayPalPlus\Payment\CartData->item(Object(WCPayPalPlus\Payment\CartItemData)) #2 /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/src/Payment/ItemsProviderTrait.php(49): WCPayPalPlus\Payment\CartData->itemsList() #3 /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/src/Payment/PaymentCreator.php(70): WCPayPalPlus\Payment\PaymentCreator->itemsList() #4 /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/ in /homepages/28/d73321720/htdocs/woeril_wp_shop_12_11_18/wp-content/plugins/woo-paypalplus/src/Payment/CartItemData.php on line 75
It looks like the PAYPAL PLUS payment plugin cannot read the products from different shops, connected with the global cart plugin.
I#ve found this post: https://ww.wp.xz.cn/support/topic/checkout-ladt-nicht-komplett-wegen-php-fehler/page/2/ and checked the ajax buttons off, but that didn’t help.I would be very gratefull for any ideas how to repair this issue.
Best regards, Tanja.
The topic ‘Fatal error: Uncaught Error: Call to a member function get_title()’ is closed to new replies.