Passer au contenu Passer à la barre latérale
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 -

Fuseau horaire du support : Europe/Zagreb (GMT+02:00)

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par johnM-92 Il y a 6 mois et 2 semaines.

Assisté par: Dražen.

Auteur Messages
mai 28, 2025 à 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?

Le sujet '[Fermé] Parse error: syntax error, unexpected token' est fermé aux nouvelles réponses.