"Column Chooser" not working when user assigned to role

@pgr @BrozTechnologies @menness

We have suitecrm 7.13 and PHP 7.4 on Ubuntu 22.04 server. When we go to any module and click on column chooser (three vertical line icon). We get pop-up windows with Displayed and Hidden fields.

image

Issue is when we move any field from Hidden section to Displayed section and click on Save changes button at the button of pop-up screen. We are getting the below error on browser console screen and it is not working.

image

Please help to find out root cause for it and thank you in advance.