ข้ามไปยังเนื้อหาหลัก ข้ามไปยังแถบด้านข้าง
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+02:00)

ติดป้ายกำกับ: 

หัวข้อนี้ประกอบด้วย 0 ข้อความตอบกลับ, มี 1 เสียง -.

ปรับปรุงล่าสุดโดย francisco-manuelA 1 year, 9 months มาแล้ว -.

ช่วยเหลือโดย: Carlos Rojas -.

ผู้เขียน โพสต์
2 กรกฎาคม 2024 เวลา 13: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” ถูกปิดสำหรับการตอบกลับใหม่.