Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing a warning about an undefined property in WooCommerce related to payment gateways on your site, specifically 'WooCommerce::$payment_gateways' in 'class-wc-subscriptions-cart.php'.
Solution:
We recommend updating to the latest version of WooCommerce Multilingual (WCML), which is 5.3.2. After updating, please try the following workaround:

  • Visit the errata page . Our developers are working on a permanent fix.

If this solution doesn't seem relevant to your issue, please don't hesitate to open a new support ticket with us for further assistance. You can do so by visiting the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Dražen 1 year, 3 months ago.

Assisted by: Dražen.

Author Posts
December 28, 2023 at 8:21 am #15133795

vadymR-3

Warning: Undefined property: WooCommerce::$payment_gateways in /var/www/html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-cart.php on line 653

December 28, 2023 at 9:03 am #15133894

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I have escalated the issue and will update you when I have some news.

Regards,
Drazen

December 28, 2023 at 9:24 am #15133944

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

can you please update to the latest WCML version, 5.3.2 and try the next workaround:

- https://wpml.org/errata/woocommerce-payment-details-are-displayed-twice-on-the-order-confirmation-page-e-mail/

Let me know if that helps.

Regards,
Drazen

December 28, 2023 at 4:49 pm #15135417

vadymR-3

it was pleasure to speak with Dražen!