Encountering a lot of "We are not sure how you reached this state"

Hi,
I have a script with 8K+ lines, which is not the first time that I am working with, but today for some reason for the first time, I am getting a lot of issues with Cursor.
I didn’t have any issues with the script/file before, but now I need to do twice select code with CMD+K for it to show up, Tab is not working well (and fast) like before.
Basically, it seems the issue is anytime I try to open the CMD+K.
I don’t know exactly what could be the issue, but happy to assist in any ways.
Thanks!