Serious trouble with recurring events with date TODAY.

WordPress Event Management, Calendars & Registration Forums General Question Serious trouble with recurring events with date TODAY.

This topic contains 18 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #22798

    Hi, I have an event which last occurrence is today. When people try to book, there is an error saying: please choose an event, please choose a date and this:

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /html/wp-content/plugins/event-organiser-pro/includes/booking-tickets.php on line 511
    Warning: array_diff_key() [function.array-diff-key]: Argument #1 is not an array in /html/wp-content/plugins/event-organiser-pro/includes/booking-tickets.php on line 511
    Documenta/Escenicas

    if I add a next date, i.e. for next friday, it works fine. the site is already operational so I have to solve this asap. 🙁
    thanks!

    Gabriela Halac
    #22799

    Hi Gabriela,

    Sorry that you’re experiencing issues with the plug-in. Can you tell me what time the event is for today? Or is it an all-day event?

    Does the error message appear only after they click ‘Book’ or when the page loads?

    Are you able to link to the site, or otherwise contact me with a link?

    Stephen Harris
    #22800

    Hi, the event is today 9pm
    Here is the link:
    http://documentaescenicas.org.ar/eventos/evento/bufon/

    Gabriela Halac
    #22801

    I am also noticing that when there is only today’s date, the “please select a date” before form submission appears. If I add another date, it disappears. But even adding another date, I cannot book for today.

    Gabriela Halac
    #22802

    Thanks Gabriela,

    I shall look into this and try to replicate it.

    Do you know what PHP version you are using?

    Stephen Harris
    #22803

    It is 5.3.29 cgi stable
    thanks!!

    Gabriela Halac
    #22804

    Could it be something to do with occurrence picker js?
    I am getting this error
    Uncaught TypeError: Cannot read property ‘tickets’ of undefined

    Gabriela Halac
    #22805

    If instead of select I choose calendar nothing appears.

    Gabriela Halac
    #22807

    Sorry for so many messages, but I am in datepicker js, and I find this could be the problem:
    var morning = new Date();
    morning.setHours( 0 );
    morning.setMinutes( 0 );
    morning.setSeconds( 0 );
    morning.setMilliseconds( 0 );
    or something related to time.

    Gabriela Halac
    #22808

    I’m not seeing any JavaScript errors….

    Stephen Harris
    #22809

    I still need to investigate this further, but I may have replicated this issue.

    When editing an a ticket on the event admin screen, there is a datepicker next to the ticket details (when selling by date). Ensure that all dates are correctly selected (blue background).

    The plug-in will automatically select the next available occurrence. I found, though, that if the occurrence didn’t have any tickets, I would see javascript errors in the console. This would also explain why the datepicker doesn’t appear on the booking form when you switch from the dropdown.

    It doesn’t explain why creating another date appears to fix the issue, however.

    Stephen Harris
    #22815

    The dates are correctly selected. I checked that, deleted everything, started all over.
    the picker doesn’t get the ticket. I dont know if that is the issue, probably php is not sending the ticket data.

    Gabriela Halac
    #22816

    I’ve installed a new wp without any plugins only event organiser and I am getting the same error. If event ends today, booking fails. I add a date and it works again.

    Gabriela Halac
    #22817

    HI Gabriela,

    I’ve just sent you an e-mail. (I may have addressed you by the wrong name as I’ve used the details in your profile).

    Stephen Harris
    #22818

    I also see set occurrence (ID) undefined
    occurrence-picker.js?ver=1.11.7:407

    Gabriela Halac
Viewing 15 posts - 1 through 15 (of 19 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.