Ok guys, so I’ve just logged into the server and ran bench update as well as git pull as it the messaged showed there are modifications done in app frappe … although there were never any changes done to my erpnext.
The problem, I cannot login into any account.
Here’s what the console errors show:
Uncaught TypeError: frappe.utils.xss_sanitise is not a function
at HTMLFormElement. ((index):414)
at HTMLFormElement.dispatch (jquery.min.js:3)
at HTMLFormElement.r.handle (jquery.min.js:3)
I ran bench update a few times, but I am not able to go beyond the login screen. The browser console shows: TypeError: frappe.utils.xss_sanitise is not a function
I tried clearing the cache with:
bench clear-cache
and
bench clear-website-cache
but still, not able to go beyond the login screen, and getting the same error in the browser console. How to resolve it?
Thanks for responding. I have cleared everything from the browser, including cache and cookies too, but still getting the same error. I am using Mozilla Firefox on Ubuntu.
I installed Google Chrome, and this is the error on my browser console too.
Uncaught TypeError: frappe.utils.xss_sanitise is not a function
at HTMLFormElement. (login:436)
at HTMLFormElement.dispatch (jquery.min.js:3)
at HTMLFormElement.r.handle (jquery.min.js:3)
I’m experiencing the exact same error too after bench update! The issue with clearing browser cache in our case is the risk of losing unsynced invoices for the offline POS. I would really like to proceed without having to edit core code