Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toLowerCase')

Need Help why this error after migration V13 to V14


ERPNext: v14.27.0 (version-14)
Frappe Framework: v14.38.0 (version-14)

I am also facing the same.

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toLowerCase')
    at Object.slug (router.js:533:15)
    at frappe.views.Workspace.append_item (workspace.js:175:18)
    at workspace.js:169:32
    at Array.forEach (<anonymous>)
    at frappe.views.Workspace.prepare_sidebar (workspace.js:169:9)
    at frappe.views.Workspace.build_sidebar_section (workspace.js:145:8)
    at workspace.js:125:9
    at Array.forEach (<anonymous>)
    at frappe.views.Workspace.make_sidebar (workspace.js:115:27)
    at frappe.views.Workspace.setup_pages (workspace.js:70:9)