function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan SpinkJonathan Spink 

LWC giving 'Component Error'

A LWC which was last updated 2 years ago has suddenly generated a 'Component Error': "Error during LWC component connect phase: [Cannot read properties of undefined (reading 'length')]" What is this about?
AbhinavAbhinav (Salesforce Developers) 
Its very hard to tell reason with just that error message.Please insepect it on browser.
Jonathan SpinkJonathan Spink
Will do. I noticed that the error wasn't raised on a different record so may be data-related.