Starting Out Savvy
Member
Posted 2 years ago #
Hi,
I messed something up in my code and now I can't even get to the code to fix it. Every time anyone tries to go to my site I get this error:
Parse error: syntax error, unexpected '}' in /home/.quigly/jamie_lee/startingoutsavvy.com/wp-content/themes/connections-reloaded/functions.php on line 159
How can I get into the admin to reinstall a different theme?
Thanks!
Log into your web hosting control panel and get into the File Manager.
You have several options.
1) upload the original functions.php file in the connections-reloaded theme and overwrite the version with the error in it. (If you wrote custom code, first download the bad version so you don't lose the changes you made).
OR
2) delete the entire connections-reloaded theme
OR
3) move the entire connections-reloaded theme out of the themes folder.
If you do 1 or 3, when WordPress can't find the active theme, it will load the default theme. That gets you back into the admin area.
Starting Out Savvy
Member
Posted 2 years ago #
Thank you so much. This is very helpful.