Passer au contenu Passer à la barre latérale

Marqué : 

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par alvaroF-7 Il y a 1 année et 9 mois.

Assisté par: Mihai Apetrei.

Auteur Messages
février 28, 2024 à 12:00 pm

alvaroF-7

We have a problem moving a WPML project to a new domain.

Using WPML and WordPress, we have created a website in 3 languages on a development URL: lien caché
We have configured the project as "production" instead of "development" from the beginning.

It is finished, we have migrated the entire website to its final URL, and we are getting a 500 error.

To search for a solution without affecting the production website, we have changed the new URL to this: lien caché
Once we have resolved the issues here, we will change back to the final URL (will be bengoetxeabusak.com at the end)

There is a 500 error. In the logs, we see errors like these:

PHP message: PHP Fatal error: Uncaught Error: Class "WPML_URL_HTTP_Referer_Factory" not found in /home/bengoetxeabusak/www/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-converter.php:173nStack trace:
n#0 /home/bengoetxeabusak/www/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php(50): WPML_URL_Converter->get_language_from_url('bengoetxeabusak...')
n#1 /home/bengoetxeabusak/www/wp-content/plugins/sitepress-multilingual-cms/classes/request-handling/wpml-request.class.php(88): WPML_URL_Cached_Converter->get_language_from_url('bengoetxeabusak...')
n#2 /home/bengoetxeabusak/www/wp-content/plugins/sitepress-multilingual-cms/classes/language/Detection/Frontend.php(32): WPML_Request->get_request_uri_lang()
n#3 /home/bengoetxeabusak/www/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1131): WPML\Language\Detection\Frontend->get_requested_lang()
n#4 /home/bengoetxeabusak/www/wp-content/plugins/s...;

Are there any specific steps to follow when moving a WPML project to a new domain?
How can we resolve this issue?
Thank you, Alvaro