
I was able to fix the same error by adjusting the site collection time zone to match the time zone of the group calendar.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A user reported this error when trying to add a group Calendar in a SharePoint Online Modern Page
Steps:
1- From any page on the site, Edit.
2- Hit Plus sign in between section to add a web part.
3- Select "Group Calendar"
4- Error!
Error Message:
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
When you click on TECHNICAL DETAILS:
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.TECHNICAL DETAILS
ERROR:
Cannot read property 'offset' of undefined
CALL STACK:
TypeError: Cannot read property 'offset' of undefined
at t._setRegionalSetting (https://spoprod-a.akamaihd.net/files/sp-client/sp-groupcalendar-webpart_en-us_801607585d6000d87d72.js:1:72238)
at t.onInit (https://spoprod-a.akamaihd.net/files/sp-client/sp-groupcalendar-webpart_en-us_801607585d6000d87d72.js:1:63868)
at t._onInViewport (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-gb_0cae5c87d44603e42b4c1842a2fec810.js:65:1622211)
at https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-gb_0cae5c87d44603e42b4c1842a2fec810.js:65:1620164
at new Promise (<anonymous>)
at t._internalFirstTimeRender (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-gb_0cae5c87d44603e42b4c1842a2fec810.js:65:1620082)
at e._renderWebPart (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-gb_0cae5c87d44603e42b4c1842a2fec810.js:65:1653637)
at https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-gb_0cae5c87d44603e42b4c1842a2fec810.js:65:1639491
What I tried
I have been looking at this for too long and thought I would put it out here in case I am missing something obvious.
TIA
I was able to fix the same error by adjusting the site collection time zone to match the time zone of the group calendar.
Have you added some custom codes on the page?
Whether some users or all users who add the group calendar web part on this site collection page will report an error?
If some users occur error, please remove these users then re-add them into site collection.
If an Answer is helpful, please click "Accept Answer" and upvote it
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.