Saltar navegación

Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.

Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.

Hoy no hay asistentes de soporte disponibles en el foro Spanish. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Este tema contiene 18 respuestas, tiene 2 voces.

Última actualización por soporteC hace 11 meses, 2 semanas.

Asistido por: Andreas W..

Autor Entradas
mayo 19, 2023 en 11:33 am #13678823

soporteC

Mi log de error de PHP está lleno de líneas como la siguiente. Actualmente tengo la memoria de PHP y de WP en 1024MB, pero he probado a poner hasta 8096MB y da el mismo error, parece un bucle algún problema existe. Normalmente carga las páginas, pero a veces la misma carga genera un error 500 y esto aparece en el log:

[Fri May 19 13:29:48.364218 2023] [proxy_fcgi:error] [pid 177176:tid 140561897928448] [client 162.158.110.13:15186] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /home/eltriangle.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-debug-backtrace.php on line 137PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 98304 bytes) in /home/eltriangle.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 571'
[Fri May 19 13:29:51.635195 2023] [proxy_fcgi:error] [pid 177245:tid 140562164610816] [client 172.71.151.76:41160] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /home/eltriangle.eu/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php on line 139PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0'

mayo 20, 2023 en 2:35 pm #13682997

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hola,

¿Podrías hacer una copia/etapa del sitio e intentar ejecutar el sitio con una configuración mínima para ver si el problema persiste?

1) Deshabilites cualquier complemento adicional que no esté relacionado con WPML y sus complementos.

2) Si el problema desaparece, comiences a reactivar los complementos uno por uno o actívelos en pequeños grupos. Hagas esto para verificar dónde se repite el problema para ver qué complemento está causando el problema.

3) Si esto no resolvió la causa del problema, cambies a un tema predeterminado como TwentyTwentyOne para ver si el problema puede estar relacionado con el tema.

Una vez que hayamos podido identificar la causa, podemos intentar replicar el problema y luego escalarlo internamente. En este caso proporciono un sitio de prueba con WPML.

Si no puedes configurar una copia de su sitio web, hágamelo saber.

Saludos
Andreas

mayo 23, 2023 en 7:31 am #13695151

soporteC

Para su información el problema es con el W3 Total Cache Plugin, en concreto con su caché de objectos. Si desactivo la caché de objectos ya no tengo el problema de la memoria. si desactivo el WPML ya no tengo el problema de la memoria.

Es decir, el problema es entre WPML y ObjectCache de W3TC.

Gracias

mayo 23, 2023 en 9:27 am #13696391

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hola,

¿El problema no desaparece después de borrar la caché de objetos o reaparece después de borrar la caché?

Saludos
Andreas

mayo 23, 2023 en 9:28 am #13696397

soporteC

El problema solo desaparece cuando se desactiva la caché de objectos. Sino sigue estando de manera aleatoria, a veces da error 500 por memory exhausted a veces no. Si desactivo la caché de objectos, deja de existir el problema.

mayo 23, 2023 en 10:07 am #13696827

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hola,

Me gustaría solicitar acceso temporal (wp-admin y FTP) a tu sitio para analizar mejor el problema.

Encontrarás los campos necesarios para esto debajo del área de comentarios cuando inicies tu sesión para dejar tu próxima respuesta. La información que ingresarás es privada, lo que significa que solo tu y yo podemos verla y tener acceso a ella.

Tal vez necesito replicar tu sitio localmente. Para esto, tendré que instalar temporalmente un complemento llamado "All In One WP MIgration" en tu sitio. Esto me permitirá crear una copia de tu sitio y su contenido. Una vez que se resuelva el problema, eliminaré el sitio local.
Hágame saber si esto te parece bien y tengas en cuenta que la creación de dicho paquete requiere suficiente espacio disponible en su servidor.

IMPORTANTE

Realices una copia de seguridad de los archivos del sitio y de la base de datos antes de proporcionarnos acceso.
Si no ves los campos wp-admin/FTP, esto significa que los detalles de inicio de sesión de tu sitio web se harán PÚBLICOS. NO publiques los detalles de tu sitio web a menos que veas los campos requeridos de wp-admin/FTP. Si no es así, pídeme que habilite la casilla privada. La caja privada se ve así:
enlace oculto

Los pasos también se muestran en este video: enlace oculto

Saludos
Andreas

mayo 23, 2023 en 2:38 pm #13700527

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hola,

Parece que tengo derechos de uso limitados aquí y no puedo instalar ningún complemento para diagnosticar más el problema o hacer una copia del sitio para probarlo.

Concédame derechos de acceso completo o hagas una copia/escenificación del sitio donde tengo acceso completo para la prueba.

Saludos
Andreas

mayo 23, 2023 en 2:56 pm #13700647

soporteC

Sorry about it, now you should have all the privileges.

mayo 23, 2023 en 5:49 pm #13702451

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hello,

Thank you, in fact, I am now able to install plugins, but I can not see which plugins are actually installed.

In order to investigate this issue I will try to take a copy of the site for testing it on a virtual server.

As soon I have the results I will be in contact.

Best regards
Andreas

mayo 23, 2023 en 5:50 pm #13702503

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hello,

It results that I do not have permission to install "All In One WP Migration" in order to take a copy of the site.

"You do not have sufficient permissions to activate this plugin."

Please provide me full access to the site or provide me access to a staging site on which I have not any restriction, otherwise, I will sadly not be able to assist you.

Best regards
Andreas

mayo 23, 2023 en 6:09 pm #13702611

soporteC

Sorry to hear about it. Now i´ve checked you have the right permissions. Sorry the mistake. Thanks

mayo 24, 2023 en 3:54 pm #13709691

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hello,

I am sorry for the delay in handling this issue, but creating the site package is taking very long, as there appear to be more than 10 Million database entries.

I will continue trying to migrate the site to localhost but take note that due to the size of the database, this might take until tomorrow.

If you would be able to set up a staging site in the meantime on which I can run the test, it would be highly appreciated.

Best regards
Andreas

mayo 24, 2023 en 7:08 pm #13710925

soporteC

Staging created, same URL add /staging

Note, if you make a single request against the object cache you won't get a 500 memory exhausted error, you have to perform many simultaneous requests (like a production site), maybe you can use apache benchmark.

mayo 24, 2023 en 11:48 pm #13711781

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hello,

It would really have been helpful and saved time if you could have provided a staging site for testing in the first place.

I can only test on localhost - we do sadly not have any live test environments available that can run such a huge site.

The migration is still not complete and running - I hope it will be complete but my work schedule for today is already fulfilled.

For now, I will only work for a successful migration and then delete the site package of more than 26 GB from your live site.

I will need to ask you to wait until tomorrow with my findings after I have run a debug on the site.

I hope for your understanding.

Best regards
Andreas

mayo 25, 2023 en 12:15 am #13711795

Andreas W.
Supporter

Idiomas: Inglés (English ) Alemán (Deutsch )

Zona horaria: America/Lima (GMT-05:00)

Hello,

According to your last reply, it seems that it might not make much sense to test the site on localhost.

Could you please take a look here:
https://wpml.org/plugin/w3-total-cache/

Kindly take note that only the Pro version of W3 Total Cache is fully compatible with WPML.

It looks to me as if you are using the free version, correct?

Also, please verify that you followed this guide when setting up the plugin:
https://wpml.org/documentation/plugins-compatibility/optimize-multilingual-website-performance-using-w3-total-cache

At last, please also take note of this known issue and apply the workaround:
https://wpml.org/errata/w3tc-is-not-minifying-files/

If you still run into issues after that, I would highly appreciate that if you still run into the issue after following the guide you please provide a staging site on which we can test the site.

Best regards
Andreas

Este ticket ya está cerrado. Si eres cliente de WPML y necesitas ayuda relacionada, abre un nuevo ticket de soporte.