[Resolved] Site unloadable after editing functions.php file
I tried to make a small edit in my functions.php file, using the theme editor. I introduced a syntax error (doh! missing comma), got an error “T_CONSTANT_ENCAPSED_STRING ” etc in relevant line of functions.php.
Ok, no sweat. I edit it back to the original. Nope, still have the same T_CONSTANT error. Clearly I have borked my install. So I go to my file manager from my host and upload the saved functions.php file from my computer to replace it. But now I just get a new error!:
Parse error: syntax error, unexpected T_STRING in /home/thirdr6/public_html/wp-content/themes/suffusion/functions.php on line 15
I’m using the suffusion theme, site is http://thirdreviewer.com Anyone know how I can get out of this? I can’t access any wordpress functions–the whole site is just that error message. I don’t have backups of files besides the functions.php because I’m an idiot (ie didn’t think anything else would be affected.) I did just backup the mysql db though…
Thanks in advance.
- The topic ‘[Resolved] Site unloadable after editing functions.php file’ is closed to new replies.