Skip Navigation
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 -

Supporter timezone: Europe/Madrid (GMT+02:00)

Tagged: 

This topic contains 0 reply, has 1 voice.

Last updated by francisco-manuelA 12 months ago.

Assisted by: Carlos Rojas.

Author Posts
July 2, 2024 at 1:20 pm #15875585

francisco-manuelA

Antecedentes del problema:
I am trying to generate .MO files using WPML on my site hidden link. 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 hidden link trace:n#0 hidden link): array_slice()n#1 hidden link): WPMLCollectSupportCollection->slice()n#2 hidden link): WPMLUtilsPager->getItemsToProcess()n#3 hidden link): WPMLUtilsPager->iterate()n#4 /var/www/vhosts/controladores.net/httpdocs/wp-content/plu...', referer: hidden link

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 hidden link 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 hidden link 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?

The topic ‘[Closed] Error generating .MO files’ is closed to new replies.