Saltar al contenido Saltar a la barra lateral
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Zona horaria del soporte: Europe/Zagreb (GMT+02:00)

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por johnM-92 hace 3 meses, 1 semana.

Asistido por: Dražen.

Autor Publicaciones
mayo 28, 2025 a las 11:32 am #17083074

johnM-92

Background of the issue:
I was trying to display all pages in languages other than English, which is the default language. However, I encountered a syntax error in the file /wp-content/languages/wpml/queue/default_pending.php on line 249. I resolved the issue by editing the file and removing the offending line. I've uploaded two screenshots. One showing the error on the frontend and the other showing the file I had to edit and the incorrect syntax that I had to remove.

Symptoms:
Parse error: syntax error, unexpected token "=>", expecting end of file in /wp-content/languages/wpml/queue/default_pending.php on line 249. Instead of loading, all pages in languages other than English displayed this error message.

Questions:
Is it OK to manually edit the default_pending.php WPML file?
Will I run into an issue because of manually editing this WPML file?

El tema '[Cerrado] Parse error: syntax error, unexpected token' está cerrado a nuevas respuestas.