Calendar - There was an error loading this page - TypeError: Cannot read property 'id' of undefined


#1

It always happens after a couple minutes in the calendar. I’m not sure what keeps triggering it, since it just happens, even if I don’t move my mouse for a minute, waiting for it. Also I think it happens only with my instance - I have another v3 on my friends server, and the only difference is that I have some of the shows in Sonarr that they do not have.
I have the latest beta from docker: 3.0.1.418
I have Trace log level on, and there’s still nothing relevant at times when this pops up.
Would really appreciate a fix or some ideas to debug things deeper, since using calendar is important to me. Thanks.

error details
TypeError: Cannot read property 'id' of undefined

    in Connect(r)
    in div
    in div
    in m0
    in r
    in Connect(r)
    in div
    in r
    in Connect(r)
    in div
    in div
    in r
    in r
    in Connect(r)
    in t
    in r
    in div
    in div
    in div
    in t
    in r
    in r
    in Connect(r)
    in div
    in DocumentTitle
    in SideEffect(DocumentTitle)
    in r
    in zD
    in r
    in Connect(r)
    in Unknown
    in t
    in t
    in r
    in Sre
    in div
    in div
    in r
    in r
    in Connect(r)
    in t
    in withRouter(Connect(r))
    in t
    in n
    in r
    in Connect(r)
    in t
    in DocumentTitle
    in SideEffect(DocumentTitle)
    in e

upd: got some more info via js console:

console logs
>index.js:3757 TypeError: Cannot read property 'id' of undefined
    at CalendarEventGroupConnector.js:13
    at Array.some (<anonymous>)
    at CalendarEventGroupConnector.js:12
    at index.js:70
    at index.js:30
    at index.js:84
    at index.js:30
    at index.js:80
    at Function.mapToProps (index.js:30)
    at r (wrapMapToProps.js:41)
    at h (selectorFactory.js:44)
    at selectorFactory.js:63
    at o.r.selectDerivedProps (connectAdvanced.js:112)
    at o.i.renderWrappedComponent (connectAdvanced.js:169)
    at o.i.indirectRenderWrappedComponent (connectAdvanced.js:154)
    at Aa (react-dom.production.min.js:184)
    at Vi (react-dom.production.min.js:232)
    at qi (react-dom.production.min.js:233)
    at ks (react-dom.production.min.js:249)
    at Os (react-dom.production.min.js:248)
    at Cs (react-dom.production.min.js:245)
    at Zi (react-dom.production.min.js:243)
    at Object.enqueueSetState (react-dom.production.min.js:130)
    at t.S.setState (react.production.min.js:13)
    at Provider.js:53
    at g (redux.js:213)
    at index.js:11
    at middleware.js:22
    at createSentryMiddleware.js:46
    at dispatch (redux.js:611)
    at Object.<anonymous> (createFetchHandler.js:21)
    at p (callbacks.js:84)
    at fireWith (callbacks.js:214)
    at p (deferred.js:183)
    at f (deferred.js:192)
    at r (index.js:3244)
(anonymous) @ index.js:3757
pi @ react-dom.production.min.js:198
Ei.a.componentDidCatch.n.callback @ react-dom.production.min.js:211
oi @ react-dom.production.min.js:193
ri @ react-dom.production.min.js:193
Bi @ react-dom.production.min.js:216
Ui @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
Is @ react-dom.production.min.js:250
ks @ react-dom.production.min.js:249
Os @ react-dom.production.min.js:248
Cs @ react-dom.production.min.js:245
Zi @ react-dom.production.min.js:243
enqueueSetState @ react-dom.production.min.js:130
S.setState @ react.production.min.js:13
(anonymous) @ Provider.js:53
g @ redux.js:213
(anonymous) @ index.js:11
(anonymous) @ middleware.js:22
(anonymous) @ createSentryMiddleware.js:46
dispatch @ redux.js:611
(anonymous) @ createFetchHandler.js:21
p @ callbacks.js:84
fireWith @ callbacks.js:214
p @ deferred.js:183
f @ deferred.js:192
r @ index.js:3244
setTimeout (async)
(anonymous) @ index.js:3494
(anonymous) @ deferred.js:230
p @ callbacks.js:84
fireWith @ callbacks.js:214
fire @ callbacks.js:222
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
fe @ createAjaxRequest.js:51
(anonymous) @ createFetchHandler.js:14
Object.assign.Gp.(anonymous function) @ queueActions.js:236
(anonymous) @ thunks.js:13
(anonymous) @ index.js:8
(anonymous) @ middleware.js:22
(anonymous) @ createSentryMiddleware.js:46
(anonymous) @ redux.js:462
repopulate @ CalendarConnector.js:121
uT @ pagePopulator.js:22
r.onStateChanged @ SignalRConnector.js:299
(anonymous) @ jquery.signalR.js:888
dispatch @ event.js:340
S.handle @ event.js:148
trigger @ trigger.js:109
triggerHandler @ trigger.js:193
d @ jquery.signalR.js:96
m @ jquery.signalR.js:2431
success @ jquery.signalR.js:2509
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
(anonymous) @ jquery.signalR.js:2588
r @ index.js:3244
setTimeout (async)
(anonymous) @ index.js:3494
error @ jquery.signalR.js:2587
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:797
abort @ ajax.js:518
(anonymous) @ ajax.js:690
r @ index.js:3244
setTimeout (async)
(anonymous) @ index.js:3494
ajax @ ajax.js:689
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
success @ jquery.signalR.js:2542
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
success @ jquery.signalR.js:2542
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
success @ jquery.signalR.js:2542
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
success @ jquery.signalR.js:2542
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
success @ jquery.signalR.js:2542
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
a @ jquery.signalR.js:2474
(anonymous) @ jquery.signalR.js:2452
r @ index.js:3244
setTimeout (async)
(anonymous) @ index.js:3494
start @ jquery.signalR.js:2451
start @ jquery.signalR.js:1157
i @ jquery.signalR.js:615
m @ jquery.signalR.js:830
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
ajax @ jquery.signalR.js:1248
p @ jquery.signalR.js:715
(anonymous) @ jquery.signalR.js:833
start @ jquery.signalR.js:686
o.componentDidMount @ SignalRConnector.js:106
Bi @ react-dom.production.min.js:216
Ui @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
Is @ react-dom.production.min.js:250
ks @ react-dom.production.min.js:249
Os @ react-dom.production.min.js:248
Cs @ react-dom.production.min.js:245
Zi @ react-dom.production.min.js:243
enqueueSetState @ react-dom.production.min.js:130
S.setState @ react.production.min.js:13
(anonymous) @ Provider.js:53
g @ redux.js:213
(anonymous) @ index.js:11
(anonymous) @ middleware.js:22
(anonymous) @ createSentryMiddleware.js:46
dispatch @ redux.js:611
(anonymous) @ createFetchHandler.js:21
p @ callbacks.js:84
fireWith @ callbacks.js:214
p @ deferred.js:183
f @ deferred.js:192
r @ index.js:3244
setTimeout (async)
(anonymous) @ index.js:3494
(anonymous) @ deferred.js:230
p @ callbacks.js:84
fireWith @ callbacks.js:214
fire @ callbacks.js:222
p @ callbacks.js:84
fireWith @ callbacks.js:214
H @ ajax.js:795
(anonymous) @ xhr.js:99
r @ index.js:3244
load (async)
t.fill @ index.js:943
(anonymous) @ index.js:3927
(anonymous) @ index.js:4002
(anonymous) @ index.js:4001
send @ xhr.js:151
ajax @ ajax.js:696
fe @ createAjaxRequest.js:51
(anonymous) @ createFetchHandler.js:14
(anonymous) @ thunks.js:13
(anonymous) @ index.js:8
(anonymous) @ middleware.js:22
(anonymous) @ createSentryMiddleware.js:46
dispatchFetchSeries @ PageConnector.js:91
o.componentDidMount @ PageConnector.js:135
Bi @ react-dom.production.min.js:216
Ui @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
Is @ react-dom.production.min.js:250
ks @ react-dom.production.min.js:249
Os @ react-dom.production.min.js:248
Cs @ react-dom.production.min.js:245
Zi @ react-dom.production.min.js:243
Rs @ react-dom.production.min.js:253
js @ react-dom.production.min.js:253
zs.render @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:264
As @ react-dom.production.min.js:251
Gs @ react-dom.production.min.js:264
render @ react-dom.production.min.js:266
(anonymous) @ index.js:12
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ bootstrap:83
Show 68 more frames
index.js:3757 signalR: reconnecting
index.js:3689 POST https://sentry.sonarr.tv/api/13/store/?sentry_key=b80ca60625b443c38b242e0d21681eb7&sentry_version=7 net::ERR_CONNECTION_TIMED_OUT

#2

Looks to be due to an unknown item in the queue and the fact that you have Collapse Multiple Episodes enabled for the calendar. Disabling Show Unknown Series Items in the queue or Collapse Multiple Episodes on the calendar should work around it until we get a fix out.


#3

Thanks, disabling the Collapse option seem to have helped. However, I looked for the “Show Unknown Series Items” in the queue, and it was already disabled from the start.


closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.