Can anyone tell me what this means?
I believe this issue was fixed via https://github.com/frappe/frappe/pull/2234.
What version are you on? Can you update and see if this issue comes up again.
I get the same error.
I’m on ERPNext 7.1.23 and Frappe 7.1.24, which were released after the above fix was merged.