Title: Bug &#8230;?:  ErrorException (E_PARSE) syntax error, unexpected &#039;}&#039;
Last modified: September 1, 2016

---

# Bug …?: ErrorException (E_PARSE) syntax error, unexpected '}'

 *  Resolved [perpetual.design](https://wordpress.org/support/users/perpetualdesign/)
 * (@perpetualdesign)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/bug-errorexception-e_parse-syntax-error-unexpected/)
 * **Ignore this (for now), read super important post below**
 * Firstly, I apologize, I could not find the bug report page I just want to report
   this -minor-, but eccentric bug- Feel free to close this after reading.
 * Okay, so I have a plugin I have been working on. It’s odd, because it was throwing
   an error in WordPress, and I fixed it by adding spaces.
 * I even changed the EOL from Windows (my dev machine) to the LAMP Stack (Unix/
   Linux) EOL. Still, only adding one or more spaces works.
 * The error says parse, so I imagine it’s some function that can’t handle spaces
   after }’s?, perhaps?
 * Anyways, here’s the screenshots (touched up a little for privacy).
 * In the first image I’m trying to indicate (and show a -bit- of context clues)
   the PHP file has no spaces and that the is the last line of code.
    [img redacted]
   This second is the error message as it appears. [img redacted]
 * I am curious to your thoughts and where I can find a bug report page? I may have
   missed it. I only looked for 3 minutes. px

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

 *  Thread Starter [perpetual.design](https://wordpress.org/support/users/perpetualdesign/)
 * (@perpetualdesign)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/bug-errorexception-e_parse-syntax-error-unexpected/#post-7579229)
 * Please close this! I looked at the page source afterwords and finally realized
   the problem is me!, as in my faulty code – with an extra bracket.
 * Goes to show ya (me) that some extra reflection and deep breaths work. can’t 
   believe… ~face palm~ XD
 *  Plugin Author [Gantry](https://wordpress.org/support/users/gantry/)
 * (@gantry)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/bug-errorexception-e_parse-syntax-error-unexpected/#post-7579427)
 * Glad it’s solved! 🙂

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

The topic ‘Bug …?: ErrorException (E_PARSE) syntax error, unexpected '}'’ is closed
to new replies.

 * ![](https://ps.w.org/gantry5/assets/icon-256x256.png?rev=1288537)
 * [Gantry 5 Framework](https://wordpress.org/plugins/gantry5/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gantry5/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gantry5/)
 * [Active Topics](https://wordpress.org/support/plugin/gantry5/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gantry5/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gantry5/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Gantry](https://wordpress.org/support/users/gantry/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/bug-errorexception-e_parse-syntax-error-unexpected/#post-7579427)
 * Status: resolved