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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 -

Supporter timezone: Europe/Paris (GMT+01:00)

This topic contains 36 replies, has 4 voices.

Last updated by alejandraM 4 years, 3 months ago.

Assisted by: Yvette.

Author Posts
July 7, 2020 at 4:37 pm #6541389

patrickT-26

Im not sure the issue can be duplicated - i assume it has something to do with the "different domains" or something thats not commonly default.

I'll try a sandbox but not sure its duplicatable.

I've started the Duplicator as well - it'll take some time but will have it ready tonight.

Please provide a private reply for me 🙂

July 7, 2020 at 4:39 pm #6541401

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

Heres the sandbox site. If you need different domains, I can set that up but let´s see if you can get the problem to replicate without it.

hidden link

July 7, 2020 at 4:47 pm #6541483

patrickT-26

As a note for the developers:

removing the following line still makes the payment link work. Not sure why we need to get the currency from the order - when its stored elsewhere. (Even if i select another currency on a product and then "Change payment" - then the correct currency is still listed)

//$order_id = $wpdb->get_var( $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_order_key' AND meta_value = %s", sanitize_text_field( $_GET['key'] ) ) );
July 7, 2020 at 5:03 pm #6541691

patrickT-26

Unable to duplicate on sandbox (its working there)

Sandbox also runs get_client_currency about 3000 times on "Change Payment".

July 7, 2020 at 5:42 pm #6541827

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

So do I need to setup different domains or not? Please advise.

I have noted that even if it works, the number of calls seems excessive.

July 7, 2020 at 5:59 pm #6541947

patrickT-26

Different domains won’t change it - tried on the staging I have.

A duplicator-file is available if needed - or the staging environment.

Note: The calls are done on all pages; not just for this call.

July 7, 2020 at 7:08 pm #6542137

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT

Please make a backup of site files and database before providing us access.
If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Kind regards
Andreas

July 7, 2020 at 7:15 pm #6542145

patrickT-26

Pretty sure this isnt private........

July 7, 2020 at 7:18 pm #6542161

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Enabled the private box again.

In doubt please test with a different browser.

Kind regards
Andreas

July 7, 2020 at 7:20 pm #6542169

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Enabled the private box again.

In doubt please test with a different browser.

Kind regards
Andreas

July 9, 2020 at 12:46 pm #6558001

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

I am being asked for a password to deploy the Duplciator package. Can you please provide this in the private area?

thanks

July 12, 2020 at 9:43 am #6577051

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

Hello

Just to let you know that the local copy of your Duplicator demonstrates the same behaviour when attempting to view "Change payment".

But the behaviour disappears when I deactivate the "WooCommerce PensoPay" plugin. This suggests to me that this issue is a compatibility premobl with this plugin.

I´d like your confirmation on this assessment before I escalate since this problem would go to a different team and it has other implications for you and the timing of getting a resolution to your issue.

Please confirm this on your staging site yourself.

July 12, 2020 at 10:09 am #6577137

patrickT-26

Woocommerce Subscription only shows "Change Payment" if there is an active subscription-compatible gateway active.

So if you disable the gateway; then the button disappears.

July 12, 2020 at 10:16 am #6577191

patrickT-26

I tried to put in another quickpay gateway; result is the same.

I doubt its both plugins that has an error. Everything works if i disable "Woocommerce Multilingual" or any of the other suggestions made in previous posts.

July 12, 2020 at 10:59 am #6577243

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

Alright - thanks for that insight. I have escalated your ticket as a compatibility issue with WCML and Woocommerce Subscriptions when Multcurrency is enabled with any recurring payment gateway plugin installed.

thanks for your great collaboration. I will update the ticket when I have some news.