Cannot read properties of undefined (reading 'toLowerCase')

5 days ago my project was working perfectly in V0. I came back today and now I can’t preview anything — I’m getting this error:
Failed to initialize v0: Cannot read properties of undefined (reading ‘toLowerCase’)
I haven’t changed any code since it last worked. I’ve spent hours and used up a bunch of credits trying to figure it out, and I’m totally lost now.

Does anyone know what might have caused this?

That error happens when you have a variable that was not assigned a real value, so it remains undefined, but later try to use that variable for something that requires a real value. Without seeing the code, I’m not sure exactly where that’s happening in your project