Pular navegação
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Fuso horário do suporte: Europe/Madrid (GMT+02:00)

Marcado: 

Este tópico contém 0, tem 1 voz.

Última atualização: francisco-manuelA 1 ano atrás.

Assistido por: Carlos Rojas.

Autor Posts
julho 2, 2024 às 1:20 pm #15875585

francisco-manuelA

Antecedentes del problema:
I am trying to generate .MO files using WPML on my site link oculto. Since a few days ago, WPML does not generate .MO files. Everything is the same and the permissions on the server are correct. I see the following errors in the logs: AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_slice(): Argument #2 ($offset) must be of type int, string given in link oculto trace:n#0 link oculto): array_slice()n#1 link oculto): WPMLCollectSupportCollection->slice()n#2 link oculto): WPMLUtilsPager->getItemsToProcess()n#3 link oculto): WPMLUtilsPager->iterate()n#4 /var/www/vhosts/controladores.net/httpdocs/wp-content/plu...', referer: link oculto

AH01071: Got error 'PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/controladores.net/:/tmp/) in link oculto on line 106'

AH01071: Got error 'PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/controladores.net/:/tmp/) in link oculto on line 106'

Síntomas:
WPML does not generate .MO files. PHP Fatal error: Uncaught TypeError: array_slice(): Argument #2 ($offset) must be of type int, string given. PHP Warning: realpath(): open_basedir restriction in effect.

Preguntas:
¿Que ocurre o como podemos solucionarlo?

O tópico “[Fechado] Error generating .MO files” está fechado para novas respostas.