My site is behind a firewall, so you can not view it. But our issue is pretty simple. When adding an event on the front end of the site, the color picker does not allow us to select a new color for the event. It is stuck on the default color. We are using version 2.3.9 on WordPress version 4.9.8
moment.js:291 Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. Arguments: [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 2019-07-9 00:00:00, _f: undefined, _strict: undefined, _locale: [object Object] Error at Function.createFromInputFallback (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:318:98) at configFromString (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2366:15) at configFromInput (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2592:13) at prepareConfig (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2575:13) at createFromConfig (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2542:44) at createLocalOrUTC (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2629:16) at createLocal (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2633:16) at hooks (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:10:29) at Object. (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/stec.js?ver=4.9.8:5895:56) at Function.each (https://productcentral.paypalcorp.com/wp-includes/js/jquery/jquery.js?ver=1.12.4:2:2881)
I tried with a different theme and it works fine. Not sure why it would stop working, I have not updated anything. Perhaps a different admin updated the theme. I will try to roll this back and let you know if that's the cause. I am using Divi by the way.
Looks like the problem is compatibility with the current Divi Page builder. I was able to rebuild the page without it and the calendar color picker works fine. Thank you for your help.
My site is behind a firewall, so you can not view it. But our issue is pretty simple. When adding an event on the front end of the site, the color picker does not allow us to select a new color for the event. It is stuck on the default color. We are using version 2.3.9 on WordPress version 4.9.8
Hi,
Have you checked your browser console for javascript errors?
Stachethemes Developer
I see this:
moment.js:291 Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 2019-07-9 00:00:00, _f: undefined, _strict: undefined, _locale: [object Object]
Error
at Function.createFromInputFallback (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:318:98)
at configFromString (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2366:15)
at configFromInput (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2592:13)
at prepareConfig (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2575:13)
at createFromConfig (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2542:44)
at createLocalOrUTC (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2629:16)
at createLocal (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:2633:16)
at hooks (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/libs/moment.js?ver=4.9.8:10:29)
at Object. (https://productcentral.paypalcorp.com/wp-content/plugins/stachethemes_event_calendar/front/js/stec.js?ver=4.9.8:5895:56)
at Function.each (https://productcentral.paypalcorp.com/wp-includes/js/jquery/jquery.js?ver=1.12.4:2:2881)
Do you see any errors when trying to assign color?
Does the color picker pop up when clicking on the color input?
Stachethemes Developer
When I try to click on it, nothing happens. I didn't see any errors. Any thoughts?
Just to add some more detail, the color picker is not responding at all. I click it and nothing happens.
Without any errors and live website is hard to debug the problem.
Have you tried if the problem persists with different theme?
Stachethemes Developer
I tried with a different theme and it works fine. Not sure why it would stop working, I have not updated anything. Perhaps a different admin updated the theme. I will try to roll this back and let you know if that's the cause. I am using Divi by the way.
Looks like the problem is compatibility with the current Divi Page builder. I was able to rebuild the page without it and the calendar color picker works fine. Thank you for your help.