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: ATE
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: If you didn't intend to move this site to hidden link, you can indicate that this site should be at hidden link. Dismiss 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? Kind Regards, |
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. |