WordPress.org

Support

Support » Themes and Templates » Terrifico » [Resolved] Parse error: syntax error, unexpected T_VARIABLE in /data

[Resolved] Parse error: syntax error, unexpected T_VARIABLE in /data

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

    If the above info does not help to resolve the issue:
    Try changing to the default theme and see if the problem disappears.

    thanks very much but I didnt modify the theme switchibg to other themes present the page without issues. i was hoping to get some input from the theme creator or a programmer who is familiar with this issue in this theme

    Theme Author vpthemes

    @vpthemes

    Thank you for pointing out, I do see a typo in file archive.php on line 9. Please edit the file and replace line 9: terrificoglobal $data; with: global $data; I will remove the typo with upcoming update of the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Parse error: syntax error, unexpected T_VARIABLE in /data’ is closed to new replies.
Skip to toolbar