Problem updating recurring events

Home Forums Calendar Products Events Calendar PRO Problem updating recurring events

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #31178
    Cliff
    Participant

    When updating an existing current event, it doesn’t ask if you want to apply it to just that one or all, so it updates all. Inspecting things a bit, once I click ‘Update’, I get a brief error message before the page reloads:

    Uncaught Error: Syntax error, unrecognized expression: [name="recurrence[type]"] option:selected" in load-scripts.php:2
    Any ideas? Everything’s up to date.

    #31179
    Cliff
    Participant

    Looking at it, it looks like I fixed a couple of typos to make things work again. On lines 88 and 107, where option:selected are used, it seems there were extra quotation marks. I changed these from:

    $('[name="recurrence[type]"] option:selected"').val() and $('[name="recurrence[end-type]"] option:selected"').val() to $('[name="recurrence[type]"] option:selected').val() and $('[name="recurrence[end-type]"] option:selected').val(). Thoughts?

    #31242
    Barry
    Member

    Hi Cliff.

    Yep we’ve got that issue logged already (our reference #19045) and I guess it was – unfortunately – missed in the 2.0.11 release. However, we are moving quickly toward the 3.0 release and this is apparently no longer a problem as of that version.

    So please accept our apologies – your fix is totally valid and once again as soon as 3.0 arrives it should not be a problem.

    #31251
    Cliff
    Participant

    Thanks, Barry. I hope 3.0 is coming out soon since this breaks some major functionality. 🙂

    #31254
    Barry
    Member

    I appreciate that: while I can’t say that 3.0 will arrive, say, next week we are hopeful of it being the next version we release. The exact timeline is flexible because we don’t know what will come up during beta testing (which is in progress), but so far so good – and thank you for your continued support and patience 🙂

    #31825
    Kyle
    Participant

    Cliff, did your edits fix the recurring events issue? I am having the same trouble and would like to fix it.

    #31826
    Cliff
    Participant

    Kyle, yes! Fixed things right up for me.

    #31828
    Kyle
    Participant

    Which file are those lines in?

    #31829
    Cliff
    Participant

    Not sure, Kyle—one of the JavaScript files. Try a search through the plugin’s directory.

    #31830
    Kyle
    Participant

    Thanks, I was looking at the php files, not the Javascript. It is /wp-content/plugins/events-calendar-pro/resources/events-admin.js for anyone else that runs into the same problem.

    #32043
    Barry
    Member

    I’ll close this thread since it’s looking like everyone is all sorted here.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Problem updating recurring events’ is closed to new replies.