Page Builder JavaScript Error After Hotfix

Mike McDermot asked on March 29, 2021 04:10

I recently applied the 12.0.92 Hotfix to my solution which was at 12.0.30. The reason for upgrading was due to an error with the Form Builder (The client side Form Builder code was getting an HTTP 500)

There were two exceptions in the upgrade log, both related to NuGet packages (Microsoft.CSharp and Micorsoft.SharePointOnline.CSOM) which I resolved via manual install of the packages per the error message.

Both my live site and the CMS app are up and running seemingly fine, but and now the Form Builder is working as expected, but the Page Builder is not.

I'm not getting javascript errors on the cmsadministration.aspx page when it tries to access any property/object on window.kentico. Apparently that object is undefined. Just checked my production site and that object is also not defined, although the Page Builder works fine - I'm guessing that cmsadministration.aspx changed with the Hotfix? Did I miss a step on the Hotfix upgrade? All I did was install the Hotfix against my CMS app, and then update the Kentico NuGet packages that my live site was referencing.

Recent Answers


Jeroen Fürst answered on March 29, 2021 08:02

Hi Mike,

I have written a checklist for troubleshooting issues with the Page Builder. Maybe this helps you figure out the cause.

Cheers, Jeroen

1 votesVote for this answer Mark as a Correct answer

Mike McDermot answered on March 30, 2021 02:24 (last edited on March 30, 2021 14:50)

Hi Jeroen,

Thank you for sending that checklist - I've added it to our internal documentation, as it refers to issues we've seen in the past (and have already resolved)

Unfortunately, after spending time going through it and the sub-links, and verifying everything, we're still seeing the issue. I have added some screenshots below but what it looks like is happening is that client side code for the Page Builder is halting when it can't resolve window.kentico or any of the objects hanging off the kentico object

Image Text

Image Text

0 votesVote for this answer Mark as a Correct answer

Jeroen Fürst answered on March 30, 2021 08:03

Hi Mike,

The images seem to be broken. Can you upload them again?

Cheers, Jeroen

0 votesVote for this answer Mark as a Correct answer

Mike McDermot answered on March 30, 2021 14:53

Image URLs updated, please let me know if you still cannot view them.

0 votesVote for this answer Mark as a Correct answer

Mike McDermot answered on April 27, 2021 17:59

Just wanted to follow up on this, it appears that a full rebuild of the CMS app, along with browser cache clearing resolved the issue.

So in summary, Hotfix 92 resolved our Form Builder errors, and a full cache clear resolved the Page Builder errors that occurred after the application of Hotfix 92

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.