Title: [Plugin: Event Registration] Code issues
Last modified: August 19, 2016

---

# [Plugin: Event Registration] Code issues

 *  Resolved [kerilynn](https://wordpress.org/support/users/kerilynn/)
 * (@kerilynn)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-event-registration-code-issues/)
 * This didn’t break the plug-in but there were a few issues with the code that 
   I had to go in and fix because I kept getting flags/errors on my admin page… 
   the two things that I found were:
    1) in the file events_install.inc.php on line
   4, there were extra spaces around the 255 in the line “VARCHAR(#255#) NULL”. 
   I removed the spaces and the error went away. (in this example I have placed 
   a # where the spaces were.) 2) in the file er_add_event_form.php on line 412..
   the same thing happened. There were extra spaces in the line: $checked = in_array(#
   $category_id, $event_category#); I removed the spaces and the error went away.(
   in this example I have placed a # where the spaces were.)
 * Like I said, this did not break anything or cause any problems other than the
   error flags I received. I just thought I should point it out so that someone 
   can go in and fix it for the next version.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [avdude](https://wordpress.org/support/users/avdude/)
 * (@avdude)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-event-registration-code-issues/#post-1674132)
 * Thanks for your input and feedback. I will note and include in future releases.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Event Registration] Code issues’ 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: [avdude](https://wordpress.org/support/users/avdude/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-event-registration-code-issues/#post-1674132)
 * Status: resolved