דלג לתוכן דלג לסרגל הצד
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 -

אזור זמן של התומך: Europe/Zagreb (GMT+02:00)

נושא זה מכיל 0 1, יש ל 1קוֹל.

עודכן לאחרונה על ידי johnM-92 לפני חודש 1, 2 שבועות.

בסיוע: Dražen.

מחבר פוסטים
מאי 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?

הנושא "[סגור] Parse error: syntax error, unexpected token" סגור לתגובות חדשות.