search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Cannot set properties of null (setting 'innerHTML') on disposed instance

Asked by Leo
1 month ago.

Hi Dan,

We’re seeing a lot of Uncaught TypeError: Cannot set properties of null (setting 'innerHTML') errors in our console logs. While the users are not impacted, we’d love our logs to be clean.

It appears to happen in the code where you call _hideLinkpoints async on a timer (setTimeout), and we have disposed the DayPilot instance already.

This is the exact code triggering the issue:

linktools._hideLinkpoints = function () {
   calendar.divLinkpoints.innerHTML = '';
   calendar.elements.linkpoints = [];
};

Most likely, the timers are not disposed when disposing the DayPilot instance itself?

Cheers
Leo

Answer posted by Dan Letecky [DayPilot]
1 month ago.

This should be fixed now in the latest sandbox build (2026.2.6904).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.