Title: Calendars not rendering / javascript error in version 20240103
Last modified: January 3, 2024

---

# Calendars not rendering / javascript error in version 20240103

 *  Resolved [wykananda](https://wordpress.org/support/users/wykananda/)
 * (@wykananda)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/calendars-not-rendering-javascript-error-in-version-20240103/)
 * Calendars are not rendering for me in version 20240103 – just an empty placeholder.
   The _data-config_ html attribute appears to be being assigned _“null”_ and causing
   the function listed below to fail. This happens even if I replace my custom config
   with the default in the Gutenberg block.
 * Here’s one of the pages where the failure is occurring -> [Calendar](https://katog.org/kr-calendar/)
 * Here’s the HTML that’s being generated for the calendar:
   `<div data-calendarids
   ="[&quot;mywebsite.com_f7tv84tnvqojte8vnv778gc9qo@group.calendar.google.com&quot;]"
   data-filter="" data-eventpopup="true" data-eventlink="true" data-eventdescription
   ="true" data-eventlocation="true" data-eventattachments="true" data-eventattendees
   ="false" data-eventcreator="false" data-eventcalendarname="false" data-hidefuture
   ="false" data-hidepassed="false" data-config="null" data-locale="en_US" data-
   theme="pgc-light" class="pgc-calendar"></div>`
 * Here’s the error appearing in the browser console – Function castObjectAttributes(
   obj) is being fed a null config:
 * main.js:73 Uncaught TypeError: Cannot convert undefined or null to object
   at 
   Function.keys ()at i (main.js:73:16)at main.js:166:9at NodeList.forEach ()at 
   HTMLDocument. (main.js:103:29)
 * Please let me know if I can provide you with any other info to help fix it.
 * Kind regards,
   Wyk
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcalendars-not-rendering-javascript-error-in-version-20240103%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [michielve](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/calendars-not-rendering-javascript-error-in-version-20240103/#post-17316974)
 * Hi, yes I see this as well. This should now be fixed in version 20240104. But
   unfortunately you will have to save the pages with calendars before this fix 
   will work.

Viewing 1 replies (of 1 total)

The topic ‘Calendars not rendering / javascript error in version 20240103’ is closed
to new replies.

 * ![](https://ps.w.org/private-google-calendars/assets/icon-256x256.png?rev=2203549)
 * [Private Google Calendars](https://wordpress.org/plugins/private-google-calendars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/private-google-calendars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/private-google-calendars/)
 * [Active Topics](https://wordpress.org/support/plugin/private-google-calendars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/private-google-calendars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/private-google-calendars/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [michielve](https://wordpress.org/support/users/michielve/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/calendars-not-rendering-javascript-error-in-version-20240103/#post-17316974)
 * Status: resolved