Zum Inhalt springen Zur Seitenleiste springen
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 -

Zeitzone des Supporters: Europe/Zagreb (GMT+02:00)

Dieses Thema enthält 0 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von johnM-92 Vor 1 Monat, 2 Wochen.

Assistiert von: Dražen.

Autor Beiträge
Mai 28, 2025 um 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?

Das Thema „[Geschlossen] Parse error: syntax error, unexpected token“ ist für neue Antworten geschlossen.