It seems that the application stuck because of an error

I’m in the middle of creating a large quote with lots of items and this error came up after clicking save. I have checked and the data is clearly saved ok but I have to refresh the page to get rid of the “stuck” message. Any ideas?

Debug log: