Skip Navigation

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 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

This topic contains 45 replies, has 0 voices.

Last updated by Bigul 15 hours, 24 minutes ago.

Assisted by: Bigul.

Author Posts
June 10, 2025 at 12:21 am #17119879

Issei Miura

Hi Bigul,

Thanks for the update. I have checked the backend again, and while I was able to create new products in both Japanese and English, I'm still getting the same error message when I try to create new portfolio or new post items in English. The mail that comes with the error message shows as follows:

Error Details
=============
An error of type E_ERROR was caused in line 147 of the file /home/customer/www/staging6.izanami-wheel.com/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php. Error message: Uncaught Error: Call to a member function get_setting() on null in /home/customer/www/staging6.izanami-wheel.com/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php:147
Stack trace:
#0 /home/customer/www/staging6.izanami-wheel.com/public_html/wp-includes/class-wp-hook.php(324): WCML_Currencies_Payment_Gateways->filter_gateway_description('Pay via PayPal.', 'ppcp-gateway')
#1 /home/customer/www/staging6.izanami-wheel.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Pay via PayPal.', Array)
#2 /home/customer/www/staging6.izanami-wheel.com/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php(381): apply_filters('woocommerce_gat...', 'Pay via PayPal.', 'ppcp-gateway')
#3 /home/customer/www/staging6.izanami-wheel.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/Data/Definition/PaymentMethodsDefinition.php(110): WC_Payment_Gateway

With the current theme in place, if I turn off the plugin "Woocommerce Multilingual and Multicurrency", I can again create new portfolio and posts in English and Japanese both smoothly. When I turn the plugin back on again, the error occurs and I can't proceed to the create post screen. When I tried running a default theme, I have the same result: able to create new posts/portfolio items in English only with the plugin switched off.

June 10, 2025 at 9:20 am #17121044

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. However, I am currently unable to reproduce the issue on my end. Everything appears to work as expected when I tried the following steps. Refer to this screencast for more information: hidden link

- Create a Blog Post or Portfolio Post in English

- Translate a Blog Post or Portfolio Post from Japanese to English

To help us investigate further, could you please share the exact steps to replicate the bug on your site?

--
Thanks!

Bigul

June 11, 2025 at 3:37 am #17123859

Issei Miura

Hi Bigul,

I have referred to your screencast, but I'm not seeing the same thing on my end.

When switched to Japanese, I can create and edit all three types: product, post and portfolio item.

But when switched to English, I still cannot create or edit any post or portfolio items. I can however create and edit woocommerce products in English now.

I have tried on multiple devices and browsers, but get the same result as above each time.

Link to an upload of my screen capture video here:

hidden link

Thanks

June 11, 2025 at 5:58 am #17124002

Issei Miura

^ In addition to the above, if I deactivate Woocommerce Multilingual and Multicurrency, I can create and edit posts/portfolio entries in English. Sorry, this part was not shown in the screencapture video.

June 11, 2025 at 9:01 am #17124643

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. That sounds strange. Could you please try logging in with a different Admin user account and check if the issue still occurs?

If it works, please go to WPML >> Translation Management >> Translators tab, remove all the existing translators, and add them again. Then check whether the problem remains or not.

--
Thanks!

Bigul

June 11, 2025 at 9:32 am #17124735

Issei Miura

Hi Bigul,

I logged in as guest, the same admin as passed to you, and I could create and edit posts and portfolio items the same as you.

Then, I navigated to WPML >> Translation Management >> Translators, and as per your instructions, I removed all translators and then added them back in as shown in the attached screenshot.

After that, I checked that creating and editing posts/gallery entires was still possible under the guest admin. It was operating smoothly.

Then, I logged back into my own account and tried to create and edit posts/gallery entries. Still getting the same error as previously, and could not access them.

Seems so strange that only the guest admin can create or edit posts when the settings are all the same for each account.

Any idea why that might be? Thank you.

Screen Shot 2025-06-11 at 18.23.53.png
June 11, 2025 at 11:04 am #17125306

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the feedback. Could you please create a new Admin user and check if the issue still exists?

Also, are you using any custom settings or plugins for user role management? Please confirm.

This may be related to the following tickets:

https://wpml.org/forums/topic/plugin-install-failed/page/2/#17004431

https://wpml.org/forums/topic/language-section-missing-in-right-bar-of-editor-in-page/#post-17103124

--
Thanks!

Bigul

June 13, 2025 at 3:58 am #17131704

Issei Miura

Hi Bigul,

I created a new admin ID and I can operate everything normally from that ID now.

However, logging into my original admin ID, I still could not create or edit posts/portfolio items from that ID.

Similarly, from any admin ID on the main site, I could not update the woocommerce plugin to the latest version without getting a fatal error and needing to revert to a previous backup to access the dashboard. I tried deactivating "Woocommerce Multilingual and Multicurrency" plugin, then updating woocommerce to the latest version and this worked.

I'm not sure about the ongoing issues related to this plugin, but for now the post/portfolio issue is resolved with the new admin ID.

Thanks.

June 13, 2025 at 4:32 am #17131728

Issei Miura

Update to the above,

Using the newly created admin account, I can now create new posts and gallery items in English, but when I try to edit any existing posts or gallery items in English, the same error as before occurs.

This one:

Error Details
=============
An error of type E_ERROR was caused in line 147 of the file /home/customer/www/izanami-wheel.com/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php. Error message: Uncaught Error: Call to a member function get_setting() on null in /home/customer/www/izanami-wheel.com/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php:147
Stack trace:
#0 /home/customer/www/izanami-wheel.com/public_html/wp-includes/class-wp-hook.php(324): WCML_Currencies_Payment_Gateways->filter_gateway_description('Pay via PayPal.', 'ppcp-gateway')
#1 /home/customer/www/izanami-wheel.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Pay via PayPal.', Array)
#2 /home/customer/www/izanami-wheel.com/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php(381): apply_filters('woocommerce_gat...', 'Pay via PayPal.', 'ppcp-gateway')
#3 /home/customer/www/izanami-wheel.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/Data/Definition/PaymentMethodsDefinition.php(110): WC_Payment_Gateway->get_description()
#4 /home/customer/www/iza

By deactivating the "Woocommerce Multilingual and Multicurrency" plugin, I receive no error message when try to open and edit those posts.

June 13, 2025 at 4:55 am #17131737

Issei Miura

Also in response to your question, there are no custom settings in place for user roles or plugins for managing user roles.

June 13, 2025 at 7:24 am #17131934

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. We will make a new copy of the site and perform a detailed debugging.

One request: Could you please share the credentials of an admin user who is experiencing issues while creating Posts and Products in English? This will help us cross-check and reproduce the problem more accurately.

--
Thanks!

Bigul

June 13, 2025 at 8:13 am #17132049

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Just to confirm, is the admin user iz****in2 a newly added account?

If possible, please share the credentials of the original admin user who is experiencing issues with creating posts. This will help us troubleshoot all the related cases more effectively.

I have enabled the private option for your next reply to ensure secure sharing.

--
Thanks!

Bigul

June 16, 2025 at 7:36 am #17137267

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details and login information. This looks like a compatibility issue and requires further checking. So I made a copy of the site using Duplicator after upgrading to the latest version of the plugins, and will debug it locally and get back to you soon. Please wait.

--
Thanks!

Bigul

June 18, 2025 at 8:01 pm #17148188

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

I have run several rounds of testing in our local environment, but couldn’t reproduce the issue exactly. So, I attempted to replicate it on your staging site:
hidden link

Everything works as expected in a minimal setup on your staging site, with only the WPML plugins, WooCommerce, and the Virtue - Premium parent theme active.

Therefore, please check whether the issue still occurs in this minimal setup. This will help us identify if another plugin or customization is causing the conflict.

Please try it and let us know your feedback. Thank you for your kind understanding.

--
Thanks!

Bigul

June 21, 2025 at 12:56 am #17155487

Issei Miura

Hi Bigul,

Thanks for your continued support with this issue.

I have checked the staging site in minimal setup as you specified. I can open and edit posts and portfolio items smoothly.

One thing that I have noticed that appears differently is that when the option to select "edit - block editor" and "edit - classic editor" in English, the error occurs.

When (as currently shown on staging site in minimal setup) there is no option to select between block/classic editor, then there is no error.

I'm not sure if this could be connected to the problem, but I just wanted to bring that to your attention. I attached a screenshot comparing these two cases here. Please let us know if you have any updates.

Thank you.

Screen Shot 2025-06-21 at 9.45.19.png