• Resolved zvitambo

    (@zvitambo)


    The Date Picker on the events listing page is throwing a Uncaught Invalid date Error when I select any date, I’m seeing this in the developer tools console. I am using chrome browser. My theme is the Astra Theme . I would like to post a picture , but i can share the errors in the console

    datepicker.min.js?ver=1.12.1:9 Uncaught Invalid date
    parseDate @ datepicker.min.js?ver=1.12.1:9
    onSelectDay @ jquery.comiseo.daterangepicker.js?ver=3.1.21:220
    _selectDate @ datepicker.min.js?ver=1.12.1:9
    _selectDay @ datepicker.min.js?ver=1.12.1:9
    selectDay @ datepicker.min.js?ver=1.12.1:9
    dispatch @ jquery.min.js?ver=3.5.1:2
    v.handle @ jquery.min.js?ver=3.5.1:2
    common.min.js?ver=3.2.5:2 
    
    Uncaught TypeError: Cannot read property 'indexOf' of undefined
        at String.<anonymous> (common.min.js?ver=3.2.5:2)
        at Function.each (jquery.min.js?ver=3.5.1:2)
        at onError (common.min.js?ver=3.2.5:2)
        at dispatch (jquery.min.js?ver=3.5.1:2)
        at v.handle (jquery.min.js?ver=3.5.1:2)
    (anonymous) @ common.min.js?ver=3.2.5:2
    each @ jquery.min.js?ver=3.5.1:2
    onError @ common.min.js?ver=3.2.5:2
    dispatch @ jquery.min.js?ver=3.5.1:2
    v.handle @ jquery.min.js?ver=3.5.1:2

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @zvitambo
    We have tested with Astra and it is working fine. Can you please provide me your view date format and datepicker format settings so we can reproduce them?
    Thank you

    Thread Starter zvitambo

    (@zvitambo)

    Hi @hiteshmakvana

    Thank you for getting back to me on this. Here are the current settings :

    Datepicker Date Format
    15.01.2021

    Date Format
    Y-m-d

    Date And Time Separator
    @

    Event Timezone website timezone.

    Hi @zvitambo
    We have tested the same settings and divi but still there is no error in console.
    Can you please deactivate all other plugin and try to replicate.

    Thank you

    Thread Starter zvitambo

    (@zvitambo)

    Hi @hiteshmakvana

    I deactivated all plugins and it worked fine. But the moment I reactivated the Elementor plugin the error reappeared. It seems to be caused by the Elementor plugin. Do you have any idea on what I can do to resolve this.
    Also please check the link its now activate .

    Thank you

    Hi @zvitambo
    We try to reproduce with elementor but still no error it might be some settings or something else. try with the default theme and with elementor.

    Thank you

    Thread Starter zvitambo

    (@zvitambo)

    Hi @hiteshmakvana

    I tried the default theme with elementor and I also changed the elementor settings, but the error still persists.

    Thank you

    Hi @zvitambo

    If You are still facing the issue, Please create a support ticket here: [email protected]

    Regards,
    priya

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

The topic ‘DatePicker Throws Uncaught Invalid date Error’ is closed to new replies.