Forum Discussion

brandanb's avatar
brandanb
Copper Contributor
Nov 14, 2019

Minified React Error #185 in SharePoint Modern Site List

Whenever I try to scroll in a SharePoint list, my screen freezes for a second and then the attached error appears.

 

Browser: Google Chrome

 

  • Johan Vader's avatar
    Johan Vader
    Copper Contributor

    brandanb I have the same issue on a SharePoint Online list. The error appears in a View when I have a counter set on any of my columns and at the same time the Tabular View setting has a checkmark (the default setting on the EditView.aspx page).

     

    When I disable the Tabular View, the error disappears. But in my case, I need the Quick Edit, and for this, the checkmark needs to be on. So instead I remove the counter(s) for my list and then the error disappears as well.

    • Johan Vader's avatar
      Johan Vader
      Copper Contributor

      Johan Vader Addtionally: The list with the error was originally created from an excel file, with the 'Add an App' option using the app to import from spreadsheet. Eventually it turned out that one item in the list had an empty Title, while the field was required field. This item was not even shown in the filtered list.

       

      When I added a Title to this item, the error disappeared.

       

      • Phil Detweiler's avatar
        Phil Detweiler
        Brass Contributor

        Johan Vader Very similar experience. Several SharePoint list with a few hundred items, grouping or turning on totals causes this.

         

        This is unfortunate to have exposed this fragility in a time of crisis. It boggles my mind that a standard list, with a dozen columns, breaks like this. This makes SharePoint useless or am I missing something? I have several simple lists doing this right now... 

    • TimLB's avatar
      TimLB
      Steel Contributor

      So we had a user report this problem and we're still gathering what they did to create the error. So, describe what might be happening on the page with this error, what's being clicked on etc. Screens with redacted info are helpful to see the state of the page prior to the error.

       

      #185 text: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

       

      So, in non-technical terms - too many things may be loading into the page and to prevent infinite looping, react is saying it's got too much to handle.

       

      We have this reported on a page that has grouping on it, there are maybe 40 categories on the page. So I think the person having the problem on our end is attempting to expand several groups at one time and that trips this error.

  • TMercier's avatar
    TMercier
    Copper Contributor

    brandanb Hello, I am having the same issue and am wondering if there was ever a solution or guidance posted somewhere on this. Thank you!

Resources