I just took a look, and I can’t see the problem. Is it specific to a particular browser? The popups were all behaving normally on all pages I looked at. (Using Firefox)
That’s weird, it does it in all browsers for me, whether I’m logged in or not – Chrome, Firefox, Brave, Opera – they all do it.
Here’s a screenshot:
https://www.dropbox.com/s/fmtvpoqz58qhon3/my-calendar-popups.png?dl=0
What else do you need me to test to figure out what’s going on?
I am experiencing the exact same problem after the latest wordpress update
Could it be related to a cache of some kind? Since I can’t see any evidence of a problem, I’m not sure what to suggest.
I’ve cleared my cache multiple times and even set my caching plugin to exclude this page in case this was the issue.
And having tried it in lots of browsers, some of which I hadn’t opened the page in before (with the page excluded from my caching plugin), I don’t think this can be it.
I have a dev site that is also doing it, but if you can’t see it, I’m not sure what else to try. I will keep bashing away at my dev site to see if I can figure out any more.
Does the fact that deleting the empty dy parameter fixes it suggest anything I could try?
OK, when looking at the console, the only time the popups appear (always when clicking the prev/next buttons), it seems to be an error that mclist is not defined:
Example error:
mc-ajax.js:29 Uncaught ReferenceError: mclist is not defined
at HTMLDivElement.<anonymous> (mc-ajax.js:29)
at HTMLDivElement.<anonymous> (jquery.min.js:2)
at Function.each (jquery.min.js:2)
at s.fn.init.each (jquery.min.js:2)
at Object.<anonymous> (jquery.min.js:2)
at c (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at l (jquery.min.js:2)
at XMLHttpRequest.<anonymous> (jquery.min.js:2)
If I edit the URL it doesn’t happen, so it ONLY occurs when using the buttons to move forwards and backwards through the months.
Any ideas on what further I can explore with this?
Thanks.
It directs me to line 29 of mc-ajax.cs which is:
if ( typeof( mclist.list ) !== “undefined” && mclist.list == ‘true’ ) {
$(‘li.mc-events’).children().not(‘.event-date’).hide();
$(‘li.current-day’).children().show();
}
I’m loading the grid view by default, but provide the option to switch to the list view.
Why would mclist be undefined when using the prev next buttons to change the month displayed in the grid view?
Well, mclist can be undefined; but this should just be skipped if it’s undefined, per the first line.
I’m assuming that you’ve disabled the JS for the list view, which is why mclist is undefined – but why it being undefined is throwing an error I’m not sure of. I can see the problem now that I know how to trigger it, and I can reproduce it locally. I already have some time scheduled today to work on My Calendar, so I’ll figure this out.
OK; I’ve got it figured out. When I rewrote the localization to use objects instead of strings, I should have also changed the typeof check to be against the object, not against the object property. Will get a release out today.
(I’d already planned a release for today, so this isn’t actually a change to my plans, just an extra bug fixed! Yay!)
Brilliant, thank you so much!
thank you from me as well