Home Forums Event Espresso Premium Editor broking with javascript error.

Editor broking with javascript error.

Posted: May 14, 2015 at 7:37 am

Zoe E

May 14, 2015 at 7:37 am

Hi we are running the latest version we have a plugin installed called Accordion Shortcodes.

The issue is when this plugin is enabled it causes the editor to brake and not work. this has happened on two websites now.

there two screenshots to see the erro that is happening.

I have asked the person who made the plugin whats causing this issue but they can’t see the error as they only have the light version.

Is there anyway you can help solve this issue as that plugin is really good. or posting on that other forum to help the developer fix the issue.

Many thanks.


  • Support Staff

May 14, 2015 at 10:22 am

Hi Zoe,

You can make it so the Accordion Shortcode scripts load in the event editor (and other EE editors like venues) by opening up the accordion-shortcodes/tinymce/tinymce.php file and on line 15 where it has this:

foreach(array('post.php','post-new.php') as $hook) {

you change it to this:

foreach(array('post.php','post-new.php','toplevel_page_espresso_events') as $hook) {

This is kind of a quick and dirty hack, but it will help you get up and running with your site, and maybe it will help guide the Accordion plugin developer to a more robust solution.

The support post ‘Editor broking with javascript error.’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 5 years, 4 months ago ago

Topic Tags


This topic is: resolved
Do NOT follow this link or you will be banned from the site!