• Resolved epixsupport

    (@epixsupport)


    Hi,

    I just upgraded a site we are building and have event espresso on it.

    When we upgraded we can not longer edit events content.

    I opened up the developer tools and noticed Accordion Short codes is causing a java script error. after disabling the plugin it works correctly the error is.

    http://prntscr.com/72hvn6

    Please let us know if you need help to debug this or if there is anything you would like us to try, it is currently a development website.

    https://ww.wp.xz.cn/plugins/accordion-shortcodes/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    Is the error showing in the WordPress admin panel? What did you upgrade? WordPress, Event Espresso or this plugin?

    I have installed Event Espresso Light and do not seem to have an issues. Could you try uninstalling the accordion shortcodes plugin and reinstalling it?

    Thread Starter epixsupport

    (@epixsupport)

    Hi Sorry for late reply,

    I am now having the issue on two separate installations of WordPress where this same issue is happening.

    http://prntscr.com/75195v

    yes it is happening in the admin area, the editor does not work. It like some sort of javascript error.

    Plugin Author philbuchanan

    (@philbuchanan)

    Are the two installations otherwise identical? Are you running the same version of WordPress, my plugin and all other plugins? What happens if only my plugin is activated (try disabling all other plugins)?

    So far I’m still unable to reproduce the issue.

    Thread Starter epixsupport

    (@epixsupport)

    Just tried it, we have the full paid version of Event Espresso,

    I have disabled all other plugins with just them two activated.

    Shall i post of Event Espresso forum aswell? to work out whats causing this bug?

    Many Thanks.

    Plugin Author philbuchanan

    (@philbuchanan)

    It only causes the error in the Event Espresso editor? How about regular posts and pages? And if so, what if you disable the Event Espresso plugin as well, is the error still there?

    Thread Starter epixsupport

    (@epixsupport)

    This only effects the editor in event espresso,

    I have posted on the event Espresso forum and see what they say.

    Thread Starter epixsupport

    (@epixsupport)

    They have a way to make it work apparently.

    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.

    not sure if that helps.

    Josh Feck

    (@builtbynorthby)

    I have installed Event Espresso Light and do not seem to have an issues.

    Hey Phil, You won’t see the same issue with Event Espresso lite because Event Espresso lite does not do custom post types. You can download the same version that epixsupport has from Event Espresso’s github repository.

    Plugin Author philbuchanan

    (@philbuchanan)

    Can you please try this beta version of the plugin and see if it fixes the issue? It appears to be working for me.

    Thread Starter epixsupport

    (@epixsupport)

    That version has fixed the issue.

    Many Thanks.

    Plugin Author philbuchanan

    (@philbuchanan)

    The official version 2.2.3 which was just released includes the fix for this issue.

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

The topic ‘Accordion Shortcodes – Javascript error stopping editor opening’ is closed to new replies.