Sorry about that. There seems to be a small conflict with the Events Tickets plugin.
Can you try https://github.com/afragen/the-events-calendar-category-colors/archive/develop.zip
Let me know if this fixes it and I’ll push it. I don’t have a copy of Events Tickets for testing.
That seems to resolve the PHP error tied to the ticket plugin, but when I have the new version activated it blocks the loading of the venue map on the events view page. This is on all pages, not just those with tickets — so I think this is a separate problem.
I see a console error tied to javascript and I know from the changelogs that with the general upgrade that there were some changes to the way javascript is handled that might affect paths in some way. Here is what the console error looks like:
Uncaught ReferenceError: tribe is not defined
at HTMLDocument.<anonymous> (legend-superpowers.js:139)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.J (jquery.js:2)
That fixed it for me. Thx! Can once again see the RSVP’s for Event Tickets.
-
This reply was modified 6 years, 2 months ago by
aussietx.
I just pushed a hotfix for the JS error.
I updated to version 6.4.2 and I’m still seeing the Javascript error — both with loading of the Google map for the venue on event pages, and also on other pages which use the plugin “Data Tables Generator by Supsystic” (this uses a shortcode to embed a table on a page). Console error is the same, and this persists even if I roll back to version 6.3.2 — but there is no problem if I disable the Category Colors plugin — so it still looks like this plugin is causing the conflict. Although I think that it’s a conflict introduced by the Event Calendar update — that is, they changed something that caused a conflict in your plugin that wasn’t there before the change..
I have disabled the Category Colors plugin for now — which is a shame because it is such a valuable feature to have on our site. But I’m hoping you’ll be able to iron out this bug soon.
There is still an issue tied to the Tickets function because there is a slight difference in the Javascript console error.
On the pages where I am seeing the failure to load Javascript-driven elements (map, embedded table) — that do NOT have events ticketing, I see this console error (“tribe is not defined”)
legend-superpowers.js:139 Uncaught ReferenceError: tribe is not defined
at HTMLDocument.<anonymous> (legend-superpowers.js:139)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.J (jquery.js:2)
On the event pages where there is also an event ticketing option, the console error is “cannot read property ‘views’ of undefined”
Uncaught TypeError: Cannot read property 'views' of undefined
at HTMLDocument.<anonymous> (legend-superpowers.js:139)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.J (jquery.js:2)
@abigailm you don’t need to disable the whole plugin. You could simply uncheck the Legend Superpowers option.
Andy, it is working now and I might owe you something of an apology, as there might have been a caching problem when I tested version 6.4.2. My site is on Cloudflare so it turned out that I needed to clear all caches there as well as the cache used on the server. (Plus also a local caching issue – I had to do a hard refresh in my browser as well).
So I’m not quite sure at this point exactly what step fixed the problem — just that I need to once again remind myself to always clear all caches everywhere.
-
This reply was modified 6 years, 2 months ago by
Abigailm.
@abigailm to be clear, you flushed the caches and now 6.4.2 works without any JS errors?
Not with 6.4.2, unfortunately. (I just tested) But things are working with the development version you linked to above. (And now I am being careful to flush all caches with any changes).
And thanks for the tip about the Legend Superpowers option — I didn’t remember that I had the option to disable that.
v6.4.5 adds a new conditional test that is more specific. @abigailm Please let me know if your issue returns.
Thanks Andy for the follow-up. I will check it again. I had to take events pro off line to deal with another possible conflict. Once I resolve I will reactivate and test. Thanks.
Mike
Everything looks ok for me after the upgrade – thanks for asking.