Error in upgrade to ERPNext v10: resave_domain_settings

solved here: