Cannot Enter WP-Admin due to function.php corrupted
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cannot Enter WP-Admin due to function.php corrupted’ is closed to new replies.
Home / Fixing WordPress / Cannot Enter WP-Admin due to function.php corrupted
Hi, anyone can help?
It show as below when I login to admin,
Parse error: syntax error, unexpected ‘<‘ in C:\Inetpub\vhosts \lexcomsolution.com\httpdocs\wp-content\themes\spectrum\functions.php on line 14
Thanks..
Use FTP or whatever file management tools your host provides you and restore an unedited version of the wp-content\themes\spectrum\functions.php
file.
If you’re not able to do that, back up the entire spectrum
directory and then delete it. That will let you back into your WordPress dashboard and site.
Hi, Thanks so much…The problem is solved now.