Syntax error in functions.php has hosed my site
-
I am using the dkret3 theme and was trying to add support for custom menus using code I copied from a post on the theme forum. After I entered the code and tried to update I got this error:
Parse error: syntax error, unexpected ‘<‘ in /home/swimming/public_html/wp-content/themes/dkret3/functions.php on line 120
The code I added was NOT on line 120, nor anywhere near there. After I deleted all the code I had added, I continue to get this error and I can’t go anywhere else on my site. You also get this error now when you try to go to the home page. The ONLY place I can go on my site is the theme editor > functions.php file.
So… I went back to the original theme folder and copied the functions.php file, deleted the “broken” one and pasted in the original. No joy. Still the same error…
What now? I cannot even get to the admin panel to reinstall the theme.
I hate php. :-{
Kat
- The topic ‘Syntax error in functions.php has hosed my site’ is closed to new replies.