Title: PHP Parse error:  syntax error, unexpected
Last modified: August 21, 2016

---

# PHP Parse error: syntax error, unexpected

 *  Resolved [Dennis](https://wordpress.org/support/users/dlongneckercomcastnet/)
 * (@dlongneckercomcastnet)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-3/)
 * Just installed the plugin. When I try to activate it, I get:
 * PHP Parse error: syntax error, unexpected ‘}’ in C:\Inetpub\vhosts\olympiagyro.
   com\httpdocs\wordpress\wp-content\plugins\event-registration\public\evr_public-
   form.php on line 368
 * Couldn’t find much when I googled the error. Any suggestions?
 * [https://wordpress.org/plugins/event-registration/](https://wordpress.org/plugins/event-registration/)

Viewing 1 replies (of 1 total)

 *  [Chris Dillon](https://wordpress.org/support/users/cdillon27/)
 * (@cdillon27)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-3/#post-5097436)
 * Until it gets fixed, you’ll have to edit that file.
 * If you use the `Plugins > Editor`, it may be easier to search for `public-form.
   php` instead of trying to look for it in the long list of files.
 * At the bottom of the file, delete the last `}` so it looks like this:
 *     ```
       <?php
          }
       }
       ?>
       ```
   
 * Then “Update File” and try to activate.

Viewing 1 replies (of 1 total)

The topic ‘PHP Parse error: syntax error, unexpected’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-registration_edf8fe.svg)
 * [Event Registration](https://wordpress.org/plugins/event-registration/)
 * [Support Threads](https://wordpress.org/support/plugin/event-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/event-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-registration/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chris Dillon](https://wordpress.org/support/users/cdillon27/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-3/#post-5097436)
 * Status: resolved