• After upgrading to WP 3.6 the slider on my homepage became stagnant. I tried to edit the code to repair it; however, it made things worse. Now I cannot even access the site. When I enter the web address or the WP login address the following appears:

    Parse error: syntax error, unexpected ‘<‘ in /home/web/users/4007.bachtel/sites/bachtelmanagement/public_html/wp-content/themes/deCondo-child1/functions.php on line 64

    Please help me access my site.

    Thank you!
    Sarah

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

    (@t-p)

    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

    codex: http://codex.ww.wp.xz.cn/Common_WordPress_Errors#Parse_errors

    If you have a backup, try re-uploading themes/deCondo-child1/functions.php via FTP or CPanel file manager.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot log in to edit site – Syntax Error’ is closed to new replies.