Parsing error in functions.php file
-
I was tinkering with some code in my functions.php file of the WordPress Twenty Eleven theme, and then whenever I tried to update the file, I got a parse error screen that read as follows:
Parse error: syntax error, unexpected T_CLASS in /home/tmznhy/public_html/wp-content/themes/twentyeleven/functions.php on line 585.
I went back to the file and returned it to how it was, but I still got the same error screen. What’s worse, I couldn’t even click onto another part of my WordPress dashboard without going straight to the error screen. I downloaded the Twenty Eleven theme on a separate tab and copy/pasted the functions.php file to mine, and STILL I got the parsing error screen. Now I can’t even log back into my account without going straight to the error screen.
I’m so frustrated and mad at myself for messing with this file, and I have no idea how to even access my blog again. Please help.
- The topic ‘Parsing error in functions.php file’ is closed to new replies.