WordPress.org

Ready to get started?Download WordPress

Forums

Terrifico
[resolved] Parse error: syntax error, unexpected T_VARIABLE in /data (4 posts)

  1. superlionwolfcomics
    Member
    Posted 11 months ago #

    I really like this theme it works really nicely except when going to one of my galleries i get the error

    Parse error: syntax error, unexpected T_VARIABLE in /data/9/3/97/117/3097117/user/3451306/htdocs/wordpress1/wp-content/themes/terrifico/archive.php on line 9

    any suggestions?

    the problem url is http://superlionwolfcomics.com/wordpress1/comic/

  2. Tara
    Member
    Posted 11 months 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.

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

  3. superlionwolfcomics
    Member
    Posted 11 months ago #

    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

  4. vpthemes
    Member
    Theme Author

    Posted 11 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic

Tags