Skip Navigation

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

Problem: I have a migration banner issue. the banner is telling me that i moved the site and i can't use Advanced Translation Editor on both my sites (Staging and production) at the same time.

Solution: Please update to version 4.6.8 of our plugin.

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 3 replies, has 2 voices.

Last updated by Alejandro 1 year, 1 month ago.

Assisted by: Alejandro.

Author Posts
November 8, 2023 at 11:43 am #14755885

victorN-3

Tell us what you are trying to do? Nothing specific just working in the site and i see this message:
Your default language, Dutch, must be mapped to a supported language in order to use automatic translation. the site is a copy of the live site and is a development site with its own key. i tried to map to the correct language but there are no languages to choose it gives me the option to only choose do not map this language and in a ny case i get a fata error that says:
Skip to main contentSkip to toolbar
About WordPress
OKOZ JAPANSE FOODBAR
11 update available
00 Comments in moderation
New
SEO
SG Cache legen
Dutch
Howdy, victornicola
Log Out
WordPress 6.4 is available! Please update now.
This site has moved to a new location
You or someone else moved this site to hidden link. Please keep in mind that:
Translations that you do at hidden link will not appear on this site.
You cannot edit translations on this site.
The site at hidden link is using the same credits for automatic translation as this site.

If you didn't intend to move this site to hidden link, you can indicate that this site should be at hidden link.

Dismiss
This site is registered on WPML.org as a development site.
When this site goes live, remember to update the site key from "development" to "production" to remove this message. Learn more

Fatal error: Uncaught Error: Call to undefined method WP_Error::filter() in /home/customer/www/staging35.okoz.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:202 Stack trace: #0 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Object(WP_Error)) #1 /home/customer/www/staging35.okoz.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array) #2 [internal function]: WPML\FP\{closure}(Object(WP_Error)) #3 /home/customer/www/staging35.okoz.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(50): call_user_func_array(Object(Closure), Array) #4 /home/customer/www/staging35.okoz.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(105): WPML\FP\{closure}(Object(WP_Error)) #5 /home/customer/www/staging35.okoz.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/edit-languages.php(1378): WPML\F in /home/customer/www/staging35.okoz.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php on line 202

Is there any documentation that you are following? No

Is there a similar example that we can see? Not my knowledge

What is the link to your site? hidden link

November 9, 2023 at 12:23 pm #14766413

Alejandro
Supporter

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

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

The fatal error might be something different and it's not related to this problem.

The issue here is that you have a banner from a migration ("This site has moved to a new location" message).

You have to select an option there, in this case you have only one option which is the link found in "If you didn't intend to move this site to hidden link, you can indicate that this site should be at hidden link."

what that will do is transfer all the translation memory to that site where the banner appears, so you cna work freely there while "blocking" the other site (the site will still work but you won't be able to translate anything temporarily until you click that link again, this time on the other site where the banner wasn't there but is now).

you can do that as many times as you want so you avoid incorrectly using credits or translation memory in one site or the other.

Can you do that and let me know if that's ok with you?

November 9, 2023 at 2:28 pm #14768165

victorN-3

Hello Alejandro,

I can do that yes but is there a way to separate this site from the migration issue?
I added a new key to the staging site and before deploying it I would like to have everything translated. I do not need translation credits as we do manual translations.

Kind Regards,
Vic

November 9, 2023 at 4:50 pm #14770079

Alejandro
Supporter

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

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

Well, we're changing the workflow to allow you to do this from the banner itself and this will be available in the version 4.6.8 of our plugin (which should be released soon).

However, since you are using 4.6.7, you can go to WPML > Support > Troubleshooting > Under the clean-up section, there will be an option "Force-enable WPML’s Advanced Translation Editor", you can click it and this will remove the banner on your site.

Regards.

November 10, 2023 at 3:44 pm #14778677

victorN-3

Fantastic thank you. that worked for me.