WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Cannot Enter WP-Admin due to function.php corrupted

[Resolved] Cannot Enter WP-Admin due to function.php corrupted

  • Hi,

    I am facing problem to access WP-admin due to function.php corrupted after I have edited it.
    Can anyone advice how to recover it? Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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..

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Cannot Enter WP-Admin due to function.php corrupted’ is closed to new replies.
Skip to toolbar