frappe.exceptions.PermissionError when opening login page

Whenever we come to login page. I keep getting this error. Any solutions?

frappe.exceptions.PermissionError:

You are not permitted to access this resource.Function frappe.desk.notifications.get_open_count is not whitelisted.

Hi,

Have you done any customization? If yes, please check you are calling a function which is not whitelisted.

Thanks,

Divyesh Mangroliya

I haven’t done any customization except 1 client side script which i have disabled

It is a whitelisted method; please try updating your app if it is not already updated.

Clear the cache after disabling client-side scripts; sometimes it takes effect only after clearing the cache.