Loading...

Receiving stack overflow error at line 2

Title

Receiving stack overflow error at line 2

Description

Receiving stack overflow error at line 2

Please wait...
When loading a qListForm or qListView on a page you receive a stack overflow error at line 2 on the page.

Cause

This is caused by running a site in 2010 Mode in SharePoint 2013. This is an issue with SharePoints init.js file and how it was written and cannot be fixed within QuickApps

Resolution

These JS errors are from SharePoint.
You can modify the INIT.js file to fix this issue.
You can find the INIT.js file here: C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions14TEMPLATELAYOUTS1033.
Open this file and search for “DeferWebFormInitCallback()” function. This will show up in two places.
Make the following changes
1. Change from this
if(typeof WebForm_InitCallback=="function")
to
if (typeof WebForm_InitCallback == "function" && typeof window['_WebForm_InitCallback'] == 'undefined')
2. and change this from
if (typeof WebForm_DoCallback == "function")
to this
if (typeof WebForm_DoCallback == "function" && typeof window['_WebForm_DoCallback'] == 'undefined')
Save the file and your error message should go away.

Defect ID

This is caused by running a site in 2010 Mode in SharePoint 2013. This is an issue with SharePoints init.js file and how it was written and cannot be fixed within QuickApps

Leave a Reply