WordPress.org

Forums

Themia Lite
[resolved] Parse error (4 posts)

  1. ppagarawal
    Member
    Posted 2 years ago #

    [Topic title edited. Your issue is no more urgent than anyone else's.]

    !
    I have made a website in WAMP and am hosting it on linux platform. After I uploaded all the files to the server I am getting this error. Kindly help me resolve this issue at the earliest.

    Parse error: syntax error, unexpected '}' in /home/multis33/public_html/wp-content/themes/themia-lite/functions/inkthemes-functions.php on line 1

    ref: multisales.in

  2. Tara
    Volunteer Moderator
    Posted 2 years ago #

    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) 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. The most common are:
    ■ Unexpected '=' : you have forgotten to include the $ when referencing a variable
    ■ Unexpected ')' : you have forgotten to include the opening bracket (
    ■ Unexpected '(' : you have forgotten to include the closing bracket )
    ■ Unepxpected T_STRING: you have forgotten a quotation mark or a semi-colon at the end of the previous line
    ■ Unexpected T_ELSE: you have an else statement with no opening if statement

  3. ppagarawal
    Member
    Posted 2 years ago #

    Issue resolved successfully. Thanks Tara.

  4. Tara
    Volunteer Moderator
    Posted 2 years ago #

    You are welcome. :-)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic