Home › Forums › Support › Parse error: syntax error, unexpected 'var' (T_VAR) This topic has 3 replies, 3 voices, and was last updated 4 years, 4 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 9, 2019 at 1:50 pm #777645 Muhammad One of my pages is showing error 500. I went to check with my hosting company and I was told that there was an issue with the theme. Now my page is indicating “Parse error: syntax error, unexpected ‘var’ (T_VAR) in /home/lovingfr/public_html/wp-content/themes/generatepress/page.php” How do I fix this? January 9, 2019 at 3:11 pm #777714 LeoStaff Customer Support Hi there, Can you try #1 here to eliminate any plugin conflicts first? https://docs.generatepress.com/article/debugging-tips/ Let me know 🙂 January 9, 2019 at 5:54 pm #777813 Muhammad Hey Leo, I’ve checked everything based on the link you gave me. I’ve concluded that the error is within generate press. Can you guide me on how to fix this? My hosting told me that it’s got something to do with /home/lovingfr/public_html/wp-content/themes/generatepress/page.php on line 65 January 9, 2019 at 6:18 pm #777833 TomLead Developer Lead Developer Hi there, There is no line 65 in page.php: https://github.com/tomusborne/generatepress/blob/2.2.1/page.php#L64 It’s possible that the file has been modified? You can try replacing it with the file I just linked to. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In