Fatal error: Unsupported operand type

[ad_1]

Hi,

We are facing an error with the Woocommerce Stripe gateway plugin on products that have the feature to set a custom price.

We are using the Custom Price for WooCommerce PRO plugin to use the functionality to enable users to set a custom price on a subscription product.

Upon opening the product page we get the following error message –
“PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /www/shedrub_409/public/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:365
Stack trace:
#0 /www/shedrub_409/public/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(416): WC_Stripe_Payment_Request->get_product_price(Object(WC_Product_Subscription))

…..”

Can you please help us debug the issue?

Thank you.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer