WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help please! Getting error, site stopped working (5 posts)

  1. petepyro
    Member
    Posted 1 year ago #

    Receiving this error. I believe I messed up the functions.php file in the main theme because it didnt exist in my child theme. I realize that I messed up and need help.

    Parse error: syntax error, unexpected T_STRING in /home/petepyro/public_html/theoracle/wp-content/themes/twentyeleven/functions.php on line 620

    the problem is that I cant even get back into my admin to correct it

  2. petepyro
    Member
    Posted 1 year ago #

    Nevermind. I saved the file to my pc before I edited it and just did an overwrite from ftp. Please close thread as solved.

  3. Bill
    Member
    Posted 1 year ago #

    Get a fresh copy of the theme's functions file, download a copy of the 'live' file, and compare them.

    If you haven't made many changes to the file, you could think about just replacing the bad one with a fresh copy.

  4. Bill
    Member
    Posted 1 year ago #

    Oh good.

  5. petepyro
    Member
    Posted 1 year ago #

    Thank you very much for the quick reply. Helpful community!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.