• Resolved mattdudley

    (@mattdudley)


    I’m getting an error about an issue in our functions file — an unexpected } character… but I don’t see it. Can anyone please help me find it? Thanks!

    Parse error: syntax error, unexpected ‘}’ in /hermes/bosoraweb178/b1746/ipw.mattdudl/theskilleryblog/wp-content/themes/twentyten1/functions.php on line 50

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Parse errors

    Syntax Error

    A syntax error means that you have made a mistake while creating your PHP structure. You could, for example, be;
    ■ Missing a ; at the end of an individual line.
    ■ Using curly quotation marks.
    ■ Missing a curly bracket.

    When this error appears it will tell you which file the error appears in (functions.php for example in your error message) and approximately which line (it may not always be the exact line so be sure to check just before and just after) in the code.

    Unexpected

    If you are receiving an error which says ‘parse error: unexpected’ this usually means that you have forgotten to include a character.

    Alternatelt, upload a fresh copy of the functions.php

    Thread Starter mattdudley

    (@mattdudley)

    Thanks, Tara. I compared my file to a fresh copy, and found some junk to remove. That did the trick.

    Moderator t-p

    (@t-p)

    Glad to know that ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax Error, unexpected character – but I don't see it’ is closed to new replies.