• When I go to the login page for a WordPress account that I am an admin on, I get this:

    Parse error: syntax error, unexpected ‘:’ in /home/content/p3nexnas06_data03/32/2158132/html/wp-content/themes/parabola/functions.php on line 28

    It won’t let me login.
    And when I go to view the live website, the same thing happens.

    I don’t know which WP version I am using

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.

    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.

    Thread Starter NiqMar

    (@niqmar)

    Yes, I understand that.
    I just don’t understand why I am unable to login so I can fix the error.

    Moderator t-p

    (@t-p)

    I just don’t understand why I am unable to login so I can fix the error.

    you don’t need to login to fix!

    You can do it via FTP or SFTP or whatever file management application your host provides.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Error’ is closed to new replies.