Delivery_date is not a valid date string error

Hello,
I am getting this error when i create a sales order and I am not really sure why It happend but I noticed it after uninstalling some app, then rebuild and migrate erpnext.
Now when install a fresh instance of erpnext and migrate the database It still shows this error. I’ve also used dbeaver database explorer to view if there’s a wrong data input on the delivery date filed of sales order table but it looks all fine.
The issue appears specifically when i run migrate command … restore and build commands works smoothly and i can get all my data just the error appears when i try to create sales order.
Any help would be much appreciated.