• Resolved phazei

    (@phazei)


    If I activate the plugin, I get the js error:

    Error: uncaught exception: Syntax error, unrecognized expression: .

    on the posts page.

    This messes up all the js on that page so I can’t insert images properly anymore.

    Anyone know of some solution to this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter phazei

    (@phazei)

    Took a while but I figured it out.

    It seems WP3.0 needs ID’s on at least all select elements.

    So I needed to mod the file
    \wp-content\plugins\the-events-calendar\views\events-meta-box.php
    and starting around line 238 I needed to change all the selects to have id’s that matched the name, eg:

    <select tabindex=”<?php $this->tabIndex(); ?>” name=’EventStartMonth’>

    becomes

    <select id=”EventStartMonth” tabindex=”<?php $this->tabIndex(); ?>” name=’EventStartMonth’>

    And that seemed to fix it ??

    Yes, but, then aren’t you going to have multiple ids on a single page? This will break your validation and may make for display errors on your page in some browsers. I’m having all kinds of problems with this plugin, but, haven’t experienced the error you’re having. I think you might want to take a deeper look into what might be causing your issue. I could be wrong, but, I don’t think WP requires an id on a select.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: The Events Calendar] uncaught exception on posts page when plugin enabled’ is closed to new replies.