Calendar: Show Week Numbers

Hello,

I’ve been using the Calendar App in one of my applications, and it previously displayed week numbers in my calendar using the following code in the OnCalendarScriptInit Event:

document.addEventListener('DOMContentLoaded', function() {
  var calendarEl = document.getElementById('calendar');

  var calendar = new FullCalendar.Calendar(calendarEl, {
    plugins: [ 'dayGrid' ],
    defaultView: 'dayGridMonth',
    weekNumbers: true
  });

  calendar.render();
});

However, it appears that this functionality has stopped working after updating to Scriptcase Version 9.9.0018. The console shows the following error:

index.global.min.js:6 Uncaught TypeError: e is not iterable
    at i (index.global.min.js:6:145028)
    at i (index.global.min.js:6:145075)
    at index.global.min.js:6:147492
    at ua.buildPluginHooks (index.global.min.js:6:147504)
    at ua.processRawCalendarOptions (index.global.min.js:6:166063)
    at ua.computeOptionsData (index.global.min.js:6:165413)
    at new ua (index.global.min.js:6:160469)
    at new e.Calendar (index.global.min.js:6:278175)
    at HTMLDocument.<anonymous> (?nmgp_outra_jan=true&nmgp_start=SC&4812:6:18)

How can we resolve this error, and what is the reason for this error suddenly occurring?

Best regards