Title: Submit Event form causing sidebar issues
Last modified: August 21, 2016

---

# Submit Event form causing sidebar issues

 *  Resolved [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/)
 * I have installed the Event Manager plugin and it works great. However I am having
   one problem that I can’t resolve. I created the Submit Event page using the tag[
   event_form]. This form works fine. I can assign a sidebar to the page and it’s
   fine. However, when I go to the submit-event/?action=edit function it breaks 
   the sidebar.
 * The sidebars work fine with all other pages using the Event tags. So there’s 
   something with this particular form that is causing my sidebar to break. Any 
   help would be greatly appreciated.
 * My developer site is dev.davidsoncommunitycalendar.com. You will probably need
   to signup to see the error. A screenprint of the page is here:
 * [http://goo.gl/pNPGEI](http://goo.gl/pNPGEI)
 * [http://dev.davidsoncommunitycalendar.com/submit-event/](http://dev.davidsoncommunitycalendar.com/submit-event/)(
   sidebar works great)
 * [http://dev.davidsoncommunitycalendar.com/submit-event/?action=edit](http://dev.davidsoncommunitycalendar.com/submit-event/?action=edit)(
   sidebar broken)
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

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

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588173)
 * Are you using custom templates?
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588192)
 * Yes, I added in a website field and extra text information in the event-editor.
   php file. However, it was still breaking it using the original file. Just to 
   be on the safe side, I just downloaded another copy of the plugin and uploaded
   the event-editor file. Still broke. I then removed all custom css from my stylesheet
   and it’s still broke.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588205)
 * Does it work ok with the default theme?
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588212)
 * No. I activated theme Twenty-Twelve and it does the exact same thing.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588218)
 * Just tested this with Twenty Fourteen and it’s not breaking the sidebar.
 * Are you using BuddyPress by any chance? I’ve a feeling there was bug along these
   lines that caused layout issues with some forms in BP.
 * There’s a new version out today, so that may fix the issue.
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588227)
 * No, it does the same thing when I activate Twenty Fourteen. [http://prntscr.com/2qg275](http://prntscr.com/2qg275)
 * Not using BuddyPress either. For now I will have to disable the sidebar until
   I can find a fix to the bug. Weird that it only happens on the ?action=edit page.
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588228)
 * Actually, now that I think about it I can’t remove the sidebar because I need
   it on the submit-event page. So I’m back to square one.
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588240)
 * I found what’s causing the sidebar to break. The main and row divs are closing
   before the Sidebar is called. Where it should be closing AFTER the sidebar – 
   which it does correctly on all other pages. I’m not sure why it’s happening or
   where in the template I can fix it. I have been searching through event-editor.
   php to see if there are extra divs that are causing an issue.
 * [http://prntscr.com/2qghvg](http://prntscr.com/2qghvg) (submit-event/?action=
   edit: main divs closing BEFORE sidebar)
 * [http://prntscr.com/2qgi73](http://prntscr.com/2qgi73) (Submite-Event page: main
   divs closing AFTER sidebar)
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588241)
 * I found the cause to the sidebar break. The theme main and row divs are closing
   BEFORE the sidebar is called in the submit-event/?action=edit page. The divs 
   are called correctly everywhere else, including the submit-event page.
 * I have searched through the event-editor.php file for extra divs that could be
   causing the break but not finding anything. I can’t figure out why this would
   be causing my divs to close before the sidebar. I have print screens below.
 * [http://prntscr.com/2qghvg](http://prntscr.com/2qghvg) (submit-event/?action=
   edit: main divs closing BEFORE sidebar and causing the break)
 * [http://prntscr.com/2qgi73](http://prntscr.com/2qgi73) (submit-event page: main
   divs closing AFTER sidebar, the way it’s suppose to be)
 *  Thread Starter [ccjm2003](https://wordpress.org/support/users/crimay71/)
 * (@crimay71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588245)
 * I FIXED IT. Your event-editor.php file had an extra </div> in it.
 * ` <?php if(get_option(‘dbem_categories_enabled’)) { em_locate_template(‘forms/
   event/categories-public.php’,true); } ?>
    </div> </div>’ // I REMOVED THIS EXTRA
   DIV //
 * Removing the extra div fixed the sidebar error. To make sure this wasn’t my error
   I downloaded the plugin again today and it’s in the file.
 *  [Minnnnn](https://wordpress.org/support/users/minnnnn/)
 * (@minnnnn)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588320)
 * Thank you! I thought I was going mad…your workaround fixed it for me too crimay.

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

The topic ‘Submit Event form causing sidebar issues’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

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

 * 11 replies
 * 3 participants
 * Last reply from: [Minnnnn](https://wordpress.org/support/users/minnnnn/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/submit-event-form-causing-sidebar-issues/#post-4588320)
 * Status: resolved