Error on All Submit Documents

I submitted any Doctype but an Error message has occurred.

ImportError: cannot import name ‘create_new_folder’ from ‘frappe.core.doctype.file.file’ (apps/frappe/frappe/core/doctype/file/


Did this start happening after a customization, or an update or is happening the first time ERPNext is being used?

Have your workers restarted successfully after your last update? Check supervisorctl status or just do a bench restart and see if the problem persists.