greg
greg

Reputation: 164

fullCalendar v1.5.1 - ie7 & ie8 - SCRIPT5007

I am getting the following error in ie7 and ie8

SCRIPT5007: Unable to set value of the property 'source': object is null or undefined fullcalendar.min.js?ver=3.1, line 28 character 264

Full Calendar is being used as part of the "eventify" plugin for wordpress

Currently using FullCalendar v1.5.1.

I updated this from FullCalendar v1.4.7 due to a similar error in v1.4.7

Any Thoughts??

--Just a quick note: I never ended up resolving this. I gave up on it and moved on --

Upvotes: 2

Views: 3164

Answers (1)

A21z
A21z

Reputation: 1067

I had the same problem using FullCalendar v1.5.2.

The exact error was (fullcalendar wasn't minified) :

SCRIPT5007: Unable to set value of the property 'source': object is null or undefined 
fullcalendar.js, line 918 character 7

The piece of code in fullcalendar was :

for (var i=0; i<events.length; i++) {
   events[i].source = source;
   ...

events.length returned 75 but only had 74 elements in it. I found the answer here : the event list had a comma after its last element. Removing it should fix it for IE < 9.

Upvotes: 1

Related Questions