“somehow i need to update the system, hope you can bring me a solution?”
Well yes a ‘bench update’ may resolve your problem, but best to do that in a test and not a production environment.
Otherwise someone may recognize or offer you advice say what accounting measures to remedy this?
edit: Here are similar reports, nabin advises this:
“All these errors are related to data, really difficult to replicate. If you can replicate the error in demo.erpnext.com, please create the invoice and share the invoice number.”