SharePoint 2013 TypeError Cannot read property replace of undefined

In this post, we will discuss how to resolve the below issue which comes in SharePoint 2013 list view after a windows update. The error looks like below when we open list view. Rather than showing list items in the view, it shows like below:

TypeError: Cannot read property ‘replace’ of undefined
TypeError: Cannot read property ‘replace’ of undefined
TypeError: Cannot read property ‘replace’ of undefined
TypeError: Cannot read property ‘replace’ of undefined
TypeError: Cannot read property ‘replace’ of undefined

SharePoint 2013 TypeError Cannot read property replace of undefined
SharePoint 2013 TypeError Cannot read property replace of undefined

Also, read:
Install workflow manager SharePoint 2013 step by step

InfoPath 2013 People Picker browse button does not work on InfoPath form Nothing happens after the click

Get All Attachments From SharePoint 2013 List Item using Rest API

Recently in one of the working SharePoint environment, we got the above issue and that was working fine previously.

After doing some analysis we got to know that the Windows team did some patch update.

Then we follow this TechNet article to resolve the issue.

To fix this issue you can install below fixes.
KB 3114508 – Download location: https://www.microsoft.com/en-us/download/details.aspx?id=50667


Or you can try installing January 2016 CU for SharePoint 2013.

We tried the second approach and it works fine for us.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →