Title: [Plugin: Event Registration] Parse error: syntax error&#8230;
Last modified: August 19, 2016

---

# [Plugin: Event Registration] Parse error: syntax error…

 *  [chodorowicz](https://wordpress.org/support/users/chodorowicz/)
 * (@chodorowicz)
 * [17 years ago](https://wordpress.org/support/topic/plugin-event-registration-parse-error-syntax-error/)
 * I get this mistake after trining to enable Events Registration v3
 * Parse error: syntax error, unexpected T_ELSE in G:\Web\2008.08-kult\www_local_wp\
   wp-content\plugins\event-registration\event_regis.php on line 1980

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

 *  [mikewheaton](https://wordpress.org/support/users/mikewheaton/)
 * (@mikewheaton)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-event-registration-parse-error-syntax-error/#post-1039251)
 * I encountered the same error. Here’s how to fix it:
    1. Open event_regis.php in the plugin directory.
    2. Go to line 1980. On or near this line you’ll see: <input type=”hidden” name=”
       payment” value=”free event”><? }
    3. Change the ‘<? }’ to ‘<?php }’
 *  [mikewheaton](https://wordpress.org/support/users/mikewheaton/)
 * (@mikewheaton)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-event-registration-parse-error-syntax-error/#post-1039252)
 * After fixing that you’ll likely get another parse error about an ‘unexpected 
   $end … on line 3185’. This can be fixed by adding another closing brace **}**
   before the final **?>** at the end of the file. Hope that helps!

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

The topic ‘[Plugin: Event Registration] Parse error: syntax error…’ is closed to
new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [mikewheaton](https://wordpress.org/support/users/mikewheaton/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-event-registration-parse-error-syntax-error/#post-1039252)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
