Home › Forums › Calendar Products › Events Calendar PRO › JS errors and event featured image missing
- This topic has 8 replies, 4 voices, and was last updated 9 years, 1 month ago by
Jairo.
-
AuthorPosts
-
January 12, 2017 at 3:38 am #1217276
Jairo
ParticipantHi,
Since updating to WP 4.7.1 , The Events Calendar 4.4.0.1 and The Events Calendar PRO 4.4 we detected some issues.
Datepicker fails when editing an Event. Please check attached image.
Chrome console shows this message:events-admin.min.js:1 Uncaught TypeError: e(...).chosen is not a function
at HTMLDocument.<anonymous> (events-admin.min.js:1)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2)
at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2)
at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2)
(anonymous) @ events-admin.min.js:1
i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2
fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2
ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2
K @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-po…:2Besides the event image is missing on month view http://salapelicano.com/eventos/
It should be shown when placing the mouse over the event title.There are also messages at Chrome console:
JQMIGRATE: Migrate is installed, version 1.4.1
tribe-events.min.js:1
["TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js."]
tribe-events.min.js:1 TEC Debug: Browser and events settings information:
tribe-events.min.js:1
["TEC Debug: tribe-events.js successfully loaded"]
tribe-events.min.js:1
["TEC Debug: tribe-events-pro.js successfully loaded"]
tribe-events.min.js:1
["TEC Debug: tribe-events-bar.js successfully loaded"]
tribe-events.min.js:1
Array[1]
0
:
"TEC Debug: tribe-events-ajax-maps.js successfully loaded"
length
:
1
__proto__
:
Array[0]
tribe-events-ajax-calendar.min.js:1 Uncaught TypeError: n.is_featured is not a function
at HTMLDocument.<anonymous> (tribe-events-ajax-calendar.min.js:1)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.K (jquery.js:2)
(anonymous) @ tribe-events-ajax-calendar.min.js:1
i @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
K @ jquery.js:2January 12, 2017 at 3:51 am #1217283Jairo
ParticipantJanuary 12, 2017 at 5:23 pm #1217790Hunter
ModeratorHi. Sorry you’re experiencing the datepicker issue. It is a known bug that should be fixed soon via a plugin update.
I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now.
However, if you’re anxious to get it resolved right away, replacing the entire contents of this file:
/wp-content/plugins/the-events-calendar/src/Tribe/Asset/Bootstrap_Datepicker.php
with this code:
resolved the issue for me. You might want to try it too. Please let me know how it works out.
I am unable to reproduce the behavior of the featured image not displaying in the month view hover tooltip. I see you checked ‘Yes’ to reverting back to the default WordPress theme and deactivating all plugins other than ours as instructed in the Testing for conflicts guide, but can you please confirm this?
Please keep me updated and have a good evening. Cheers!
January 13, 2017 at 8:11 am #1218094Jairo
ParticipantThis reply is private.
January 13, 2017 at 11:02 am #1218234Hunter
ModeratorThis reply is private.
January 17, 2017 at 5:32 am #1219571Jairo
ParticipantHello,
I’ve fixed the missing tooltip image.
Old version used imageSrc and latest uses imageTooltipSrc, so I did a replace of this string.Is there any document where changes like this could be readed ?
As we use custom views anytime they can fail if any change is done at the main scripts, and this file will help a lot.Thanks
February 10, 2017 at 1:11 pm #1233058Hunter
ModeratorWhen users have custom templates they are responsible for updating them to match changes made in new releases – of course, we try to minimize disruption as far as possible. Also, we try to clue them in to things they should look for by providing useful data in Events > Help > Recent Template Changes. If you navigate there, you should see a list of recently updated templates (which changes each release).
It’s also best you review our Release Notes and the plugin changelogs when updates are available.
Thank you for sharing your solution with us and have a great rest of your day!
March 4, 2017 at 8:35 am #1249462Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘JS errors and event featured image missing’ is closed to new replies.
