Cannot read property 'page_length' of undefined

I have a problem with my user account on the ERPNext system. When I click to view the Leave Application List, the screen freezes and I have this “Cannot read property ‘page_length’ of undefined” in the browser debugging window. It only happens if I login with my account. So it should a user related issue. I remember the user settings for page_length and list filters used to be saved in __UserSettings table but the new version doesn’t seem to use it.

How can I fix the issue?

What version are you on?

ERPNext 8.0.21, Frappe: 8.0.32.


Where can I find the setting with the version I have.

Problem solved. The culprit is the Redis cache. I deleted the cache copy of my user setting in redis and it works again.