Parse error: syntax error; site totally crashed trying to add google analytics
-
Parse error: syntax error, unexpected ‘<‘ in /home/content/97/9415397/html/wp-content/themes/twentyeleven/functions.php on line 618
I have a wordpress site hosted with the godaddy 4GH economy package. I am still using the original theme, twenty eleven, but had made slight tweaks, namely a view count snippet and an SEO plugin:
http://wpsnipp.com/index.php/functions-php/track-post-views-without-a-plugin-using-post-meta/
http://yoast.com/wordpress/seo/
After getting these working, I wanted to try out Google Analytics. I added the necessary code to the bottom of my functions.php right below the snippet posted above. As soon as I updated it, the entire site, dashboard and all, crashed, displaying the above error.
I can’t access anything. Is there anyway to reset my functions.php to default? Do I have to restart my whole blog?
- The topic ‘Parse error: syntax error; site totally crashed trying to add google analytics’ is closed to new replies.