Support » Fixing WordPress » Parse error: syntax error, unexpected…..on line 160

  • Resolved orlandoderal

    (@orlandoderal)


    I need help. I don’t know if I have to start all over. I was working on my site and I put something in the wrong place and now I cannot open it at all. Please help me.

    This is the message I get when I try to open my site:

    Parse error: syntax error, unexpected ‘[‘ in /home/content/22/9545122/html/orlandoderalstudio/wp-content/themes/hairpress-wp/hairpress/includes/post-types.php on line 160

Viewing 2 replies - 1 through 2 (of 2 total)
  • Using an FTP tool such as FileZilla or your host provided File Manager, rename the file

    // /wp-content/themes/hairpress-wp/hairpress/includes/post-types.php

    to old-post-types.php

    Then upload an unedited version from the downloaded theme’s version in use.

    You could also just download that file and correct the error, then upload, but keep an unedited version just in case.

    Thank you so much!!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error, unexpected…..on line 160’ is closed to new replies.