WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cannot Enter WP-Admin due to function.php corrupted (4 posts)

  1. Lee Leong Sze
    Member
    Posted 1 year ago #

    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.

  2. Lee Leong Sze
    Member
    Posted 1 year ago #

    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..

  3. 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.

  4. Lee Leong Sze
    Member
    Posted 1 year ago #

    Hi, Thanks so much...The problem is solved now.

Topic Closed

This topic has been closed to new replies.

About this Topic