Saltar al contenido Saltar a la barra lateral

Etiquetado: 

Este tema contiene 0 respuesta, tiene 1 voices.

Última actualización por alvaroF-7 hace 1 año, 9 meses.

Asistido por: Mihai Apetrei.

Autor Publicaciones
febrero 28, 2024 a las 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: enlace oculto
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: enlace oculto
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