osseed / com.osseed.eventcalendar

CiviCRM Event Calendar
GNU General Public License v3.0
11 stars 37 forks source link

Uncaught TypeError: other.on is not a function #50

Closed k054 closed 5 years ago

k054 commented 5 years ago

I installed the extension from the civicrm web ui installer and I'm getting this in the console when I visit https://SITE/civicrm/showevents

fullcalendar.js?r=ypcHi:1219 Uncaught TypeError: other.on is not a function at GlobalEmitter.ListenerMixin.listenTo (fullcalendar.js?r=ypcHi:1219) at GlobalEmitter.ListenerMixin.listenTo (fullcalendar.js?r=ypcHi:1214) at GlobalEmitter.bind (fullcalendar.js?r=ypcHi:2189) at Function.GlobalEmitter.get (fullcalendar.js?r=ypcHi:2170) at Function.GlobalEmitter.needed (fullcalendar.js?r=ypcHi:2176) at new Calendar (fullcalendar.js?r=ypcHi:9316) at HTMLDivElement. (fullcalendar.js?r=ypcHi:12429) at Function.each (js_vDrW3Ry_4gtSYaLsh77lWhWjIC6ml2QNkcfvfP5CVFs.js:34) at $.fn.init.each (js_vDrW3Ry_4gtSYaLsh77lWhWjIC6ml2QNkcfvfP5CVFs.js:27) at $.fn.init.$.fn.fullCalendar (fullcalendar.js?r=ypcHi:12395)

I read the "Add the fullcalendar library https://github.com/fullcalendar/fullcalendar/releases/tag/v1.6.7" steo in tin installation instructions but old https://github.com/osseed/com.osseed.eventcalendar/issues/23 says it has the correct version, so I'm uncertain.

Thanks in advance.

madhavimalgaonkar commented 5 years ago

Hey @k054 Thanks for reaching out and sorry to reply you late on this. We haven't updated the README yet and you no longer need to add the library as its already added in extension. Please use this release https://github.com/osseed/com.osseed.eventcalendar/releases/tag/2.3 which uses fullcalender version 3.9.0

scardinius commented 5 years ago

Hi, I have exactly the same error in browser console log and blank page. My stuff

then I enabled jquery_update drupal module and it started to work a bit better :-) I see calendar with my event but in console log there is a error:

Uncaught Error: Syntax error, unrecognized expression: ul.menu a[href=/] at Function.at.error (jquery.min.js?v=1.10.2:4) at mt (jquery.min.js?v=1.10.2:4) at Function.at [as find] (jquery.min.js?v=1.10.2:4) at $.fn.init.find (jquery.min.js?v=1.10.2:5) at $.fn.init.init (jquery.min.js?v=1.10.2:4) at $.fn.init (drupal.js?pqvpc6:26) at x (jquery.min.js?v=1.10.2:4) at $.fn.init.$.fn.drilldown (jquery.drilldown.js?pqvpc6:125) at HTMLDivElement. (admin.menu.js?pqvpc6:57) at Function.each (jquery.min.js?v=1.10.2:4)

Should I worry about this?

pranavaeer commented 5 years ago

Hey @scardinius I did checked with version you mentioned for CiviCRM and Event Calendar extension, but was not able to see similar error in console, check if this error also comes on non-calendar pages too. Also I think the error you are getting looks similar to the one from admin module, check here https://www.drupal.org/project/admin/issues/1968508

osseed commented 5 years ago

Closing. No response !