Title: Error message on my site
Last modified: August 19, 2017

---

# Error message on my site

 *  Resolved [rlabbe](https://wordpress.org/support/users/rlabbe/)
 * (@rlabbe)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/)
 * Hello,
 * I made a small change to the theme_styles_Scripts.php file, and ever since then
   the entire site has crashed and all I can see is this error:
    Parse error: syntax
   error, unexpected ‘{‘ in /homepages/17/d177937787/htdocs/clickandbuilds/CMS0/
   wp-content/themes/alaska/core/theme_styles_scripts.php on line 718
 * I am locked out of editing anything at this point and I have no idea how to fix
   this. Please help!!
 * Thanks!
    Roxanne
    -  This topic was modified 8 years, 7 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 8 years, 7 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress as this is not a Developing with WordPress
      topic
    -  This topic was modified 8 years, 7 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/#post-9422194)
 * Your “alaska” theme seems to be the error.
 * To confirm, try switching to the unedited default Theme (Twenty Seventeen.) using
   [FTP/ SFTP ](http://codex.wordpress.org/FTP_Clients), or your web-host’s cPanel
   or whatever file management application your host provides (no Dashboard access
   required). Navigate to /wp-content/themes/ and switch to the default theme by
   renaming your current theme’s folder by adding “-old” to the end of the folder
   name. Alternately, you can remove other themes except the default theme (Twenty
   Sixteen.). That will force your site to use it.
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/#post-9422347)
 * t-p’s advice is spot on for getting your site functional again. If you know exactly
   what you did wrong, download the problem file via FTP etc., correct the error,
   then upload the corrected version. Or simply upload the original version of the
   file if you have that available.
 * You’ve experienced first hand why you shouldn’t use the theme editor to make 
   changes to the current theme. We advise that everyone make edits through the 
   FTP download/upload cycle, keeping error free backup versions available should
   they be needed. It’s not as convenient, but far safer.
 *  Thread Starter [rlabbe](https://wordpress.org/support/users/rlabbe/)
 * (@rlabbe)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/#post-9432320)
 * Thank you, that worked! The issue has been resolved.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/#post-9432356)
 * Glad to know it 🙂
 *  [wannaprasart](https://wordpress.org/support/users/wannaprasart/)
 * (@wannaprasart)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/#post-9496397)
 * .
    1 **my.bluehost** [https://my.bluehost.com/cgi/home](https://my.bluehost.com/cgi/home)
 * 2 **hosting**
    home -file File Manager [https://my.bluehost.com/cgi/home](https://my.bluehost.com/cgi/home).
   file manager settings Select the directory you wish to open Directory Selection.
   Home Directory Web Root Document Root for [chonsamun.com] Preferences . Show 
   hidden files submit . 3 **Document Root** [submit] . 4 **cPanel File Manager 
   v3** . File Manager การตั้งค่า . Reminder: The Terms of Service does not allow
   inappropriate use of our network for online storage. Please see “UNLIMITED” USAGE
   POLICIES AND DEFINITIONS for more information. Files uploaded in connection with
   your hosted site are always welcome. For approved online backup services please
   visit the Partners section of cPanel. . public_html . public_html/samunton samunton
   cgi-bin wp-admin wp-content wp-includes . wp-content themes . twentyeleven twentyeleven-
   old .

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

The topic ‘Error message on my site’ is closed to new replies.

## Tags

 * [theme styles](https://wordpress.org/support/topic-tag/theme-styles/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [wannaprasart](https://wordpress.org/support/users/wannaprasart/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/httpswordpress-orgsupporttopicparse-error-syntax-error-unexpected-t_functi/#post-9496397)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
