Antecedentes del problema:
I am trying to generate .MO files using WPML on my site enlace 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 enlace oculto trace:n#0 enlace oculto): array_slice()n#1 enlace oculto): WPMLCollectSupportCollection->slice()n#2 enlace oculto): WPMLUtilsPager->getItemsToProcess()n#3 enlace oculto): WPMLUtilsPager->iterate()n#4 /var/www/vhosts/controladores.net/httpdocs/wp-content/plu...', referer: enlace 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 enlace 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 enlace 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?
El tema “[Cerrado] Error generating .MO files” está cerrado a nuevas respuestas.
Gestionar el consentimiento de cookies
Utilizamos cookies para optimizar nuestro sitio web y nuestros servicios. Su consentimiento nos permite procesar datos como el comportamiento de navegación. No dar su consentimiento puede afectar a algunas funciones.
Funcional
Siempre activo
Necesario para que nuestro sitio web funcione y se comunique correctamente.
Preferencias
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Estadísticas
Las utilizamos para analizar las estadísticas de nuestro sitio. La información recopilada es totalmente anónima.El almacenamiento o acceso técnico que se utiliza exclusivamente con fines estadísticos anónimos. Sin una citación, el cumplimiento voluntario por parte de su proveedor de servicios de Internet, u otros registros de terceros, la información almacenada o recuperada solo para este propósito generalmente no puede usarse para identificarlo.
Marketing
Estas cookies rastrean su navegación para proporcionar anuncios relevantes para usted.