Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 4 replies, has 1 voice.

Last updated by Noman 2 weeks, 4 days ago.

Assisted by: Noman.

Author Posts
January 4, 2026 at 5:42 am #17701843

uweK-11

resolve the error. Got it after updating wpml woocommerce multi lang plugin

Uncaught Error: WCML_WC_Gateways::translate_gateway_strings(): Argument #1 ($gateway) must be of type WC_Payment_Gateway, Airwallex\Gateways\Settings\APISettings given, called in /home/1296732.cloudwaysapps.com/rvqpykxssp/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php on line 112 in /home/1296732.cloudwaysapps.com/rvqpykxssp/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php on line 117 Call stack: WCML_WC_Gateways::translate_gateway_strings() wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php:112 WCML_WC_Gateways::payment_gateways_filters() wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php:79 WCML_WC_Gateways::loaded_woocommerce_payment_gateways() call_user_func_array() wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:358 WPML\FP\Fns::WPML\FP\{closure}() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/plugin.php:205 apply_filters() wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:92 WC_Payment_Gateways::init() wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:77 WC_Payment_Gateways::__construct() wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:50 WC_Payment_Gateways::instance() wp-content/plugins/payoneer-checkout/modules/inpsyde/payment-gateway/src/PaymentGatewayBlocks.php:77 Syde\V\I\P\PaymentGatewayBlocks::gateway() wp-content/plugins/payoneer-checkout/modules/inpsyde/payment-gateway/src/PaymentGatewayBlocks.php:38 Syde\V\I\P\PaymentGatewayBlocks::is_active() wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php:28 Automattic\W\B\P\PaymentMethodRegistry::Automattic\W\B\P\{closure}() array_filter() wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php:29 Automattic\W\B\P\PaymentMethodRegistry::get_all_active_registered() wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php:40 Automattic\W\B\P\PaymentMethodRegistry::get_all_active_payment_method_script_dependencies() wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php:133 Automattic\W\B\P\Api::verify_payment_methods_dependencies() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-includes/script-loader.php:2131 print_head_scripts() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-admin/admin-header.php:151 require_once('/home/1296732.cloudw...min/admin-header.php') wp-admin/plugins.php:637wtf is this

January 4, 2026 at 5:43 am #17701846

uweK-11

hello?

January 4, 2026 at 12:11 pm #17702205

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Could you please try to follow the below steps and see if this resolves the issue:

1. Make sure the minimum requirements for WPML meet:
https://wpml.org/home/minimum-requirements/

2. Make sure you are using the latest version of theme and plugins on your site.

3. Please delete all sorts of caches on your site/server cache if any / plugin cache / CDN cache (if any), clear browser cache, and then see if it resolves the issue afterward.

4. If the issue persists, could you please try the following steps to isolate the cause of the issue:

1. Take a backup of your site first for safety reasons.
2. Deactivate all plugins except WPML and its add-ons.
3. Switch to the default WP theme like 2025.
4. If the issue is gone, start reactivating the other plugins one by one to find which one might be causing a conflict.

Kindly let me know the results,
Thank you

January 4, 2026 at 12:26 pm #17702222

uweK-11

Look, it's your plugin update causing this. Without updating your plugin it works fine, once i update WPML Multilingual & Multicurrency for WooCommerce from current version 5.5.2.3 to 5.5.3.1 it happens.

Not any other plugin or the theme, everything works fine with your plugin version 5.5.2.3.

I made a backup before upgrading the plugin and now I just restored the backup, my page is working again. However I would like to be able to update the plugin, but I won't do it because I get this stupid error.

January 4, 2026 at 6:25 pm #17702446

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience. I’ve checked this internally and can confirm this issue is already escalated and reviewed by our 2nd-tier team.

The root cause is a bug in the Airwallex plugin itself, not in WPML. After the update, WCML correctly processes WooCommerce payment gateways. However, the Airwallex plugin incorrectly registers a settings/helper class (APISettings) as a payment gateway. WooCommerce requires all gateways to extend WC_Payment_Gateway, and this incorrect implementation is what triggers the fatal error. The update simply exposes an existing issue in the Airwallex plugin.

Please note that this plugin:
- Is not listed as WPML compatible
- Has only ~3K users on WordPress.org
- Has a very low rating (2.1/5), which aligns with this type of issue

At this stage, the fix must come from the Airwallex plugin authors. We strongly recommend reporting this to them and sharing the error log, as the issue is within their codebase, maybe they already have a quick fix for it so that it will work fine with WPML.

Thank you for your understanding and cooperation

The topic ‘[Closed] WooCommerce Multilingual plugin (WPML)’ is closed to new replies.