跳到内容 跳到侧边栏
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 -

支持人员时区: Europe/Madrid (GMT+01:00)

標籤: 

本主题包含 0 則回覆 ,有 1 声音 。

最后由 francisco-manuelA 1 year, 8 months前 更新。

协助者:: Carlos Rojas.

作者 帖子
2024 年 7 月 2 日 于 下午 1:20 #15875585

francisco-manuelA

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

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 隐藏链接 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 隐藏链接 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?

主题'[關閉] Error generating .MO files'已关闭,不接受新回复。