Title: Correcting Parse Error
Last modified: August 20, 2016

---

# Correcting Parse Error

 *  [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/)
 * Hi,
 * I published a new blog post today and somehow messed up my site. This is the 
   message I get: “Parse error, syntax error unexpected ‘/’ in home/contest/77/10036877/
   html/wp-contest/themes/twentyeleven/functions.php on line 612′
 * I’ve had a similar problem before, so I went to FTP and opened the functions.
   php file. The problem is–I don’t know what to correct or delete. It’s also very
   difficult to read in notepad since it’s so wide. I have no idea where line 612
   is. Any suggestions for me?
 * Thanks!

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/correcting-parse-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/correcting-parse-error/page/2/?output_format=md)

 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635365)
 * Try to use this [Online Tool](http://writecodeonline.com/php/)
 * It shows the line number. I would suggest downloading a free IDE editor when 
   you get a chance. I have been coding for 13 years and Textedit or Notepad can
   still kick my butt sometimes
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635372)
 * Thank you, Justin. Tried pasting it using the online tool you provided, but it
   doesn’t even go to line 612! Any other suggestions?
 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635378)
 * It is not uncommon for a error to go off a file.
    Can you use [PasteBin](http://pastebin.com/)
   to show the code of your functions file so everyone can have a look?
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635381)
 * Use [NotePad++](http://notepad-plus-plus.org/) to see PHP files with line numbers.
   The issue is actually more likely related to a hidden BOM or improper encoding
   of the file when saved after edit locally (which NotePad++ also takes care of).
   You will need to associate the file types with this program.
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635387)
 * Here it is: [http://pastebin.com/3jwUsmp3](http://pastebin.com/3jwUsmp3)
 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635388)
 * Did you edit the functions file at all?
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635391)
 * No-don’t think so. . . Not sure what to edit.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635392)
 * You do not have a closing
 *     ```
       ?>
       ```
   
 * Lines 611 and 612…(the parser here may have stripped 611 but actually is not 
   needed anyway)
 * Place your cursor at the last character in this file and hold down delete for
   15 seconds….yes that long and close the file out properly…
 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635398)
 * I confirmed the snippet that you posted working. Have you installed any plugins
   at all?
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635409)
 * Not recently.
 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635411)
 * I am afraid I am out of basic solutions as of now. Simply creating a post would
   not of doe this
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635412)
 * That’s what I thought. This is not good!
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635413)
 * [@cbaz](https://wordpress.org/support/users/cbaz/): site URL?
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635414)
 * The site was fine this morning and then when I attempted to go there this afternoon,
   it couldn’t be found.
 *  Thread Starter [cbaz](https://wordpress.org/support/users/cbaz/)
 * (@cbaz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/#post-3635416)
 * [http://thenaturallyhealthyhorse.com](http://thenaturallyhealthyhorse.com)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/correcting-parse-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/correcting-parse-error/page/2/?output_format=md)

The topic ‘Correcting Parse Error’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 21 replies
 * 4 participants
 * Last reply from: [cbaz](https://wordpress.org/support/users/cbaz/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/correcting-parse-error/page/2/#post-3635423)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
