WordPress.org

Ready to get started?Download WordPress

Forums

Parse error: syntax error, unexpected T_STRING help (5 posts)

  1. bvgreen
    Member
    Posted 1 year ago #

    Hi! I'm brand new to WordPress & I've already managed to mess things up badly. I attempted to edit the functions.php by adding Google analytics…..However, I did it wrong because I get this on my screen now: Parse error: syntax error, unexpected T_STRING in /home/bvgreen/public_html/wp-content/themes/greenpoint-milanda/functions.php on line 3…..I don't have access to the Dashboard or anything else, the screen seems locked. Could someone help me please? I really don't know what to do………..Thanks!

  2. Tara
    Member
    Posted 1 year ago #

    Can you undo what you did and try?

  3. bvgreen
    Member
    Posted 1 year ago #

    Not sure how

  4. Tara
    Member
    Posted 1 year ago #

    Try a fresh copy of the functions.php
    Save your old one.

  5. Bloke
    Member
    Posted 1 year ago #

    Can you see what is on line 3? Sometimes its the code one line above or below it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.