role changes not getting saved in suitecrm 7.10.9

Hi,
I am using suitecrm version 7.10.9.I am trying to change role access from role management but its not getting saved.It shows error in console of browser when we click on save button.

Can anyone help me to solve this issue.

Below is the error that i am getting in console -

VM342:1 Uncaught SyntaxError: Unexpected token <
at eval ()
at sugar_grp1.js?v=L5D8o44IVEtxQaPmiDTJyw:438
at Object.globalEval (sugar_grp1.js?v=L5D8o44IVEtxQaPmiDTJyw:438)
at Object.postSave [as success] (eval at (sugar_grp1.js?v=L5D8o44IVEtxQaPmiDTJyw:438), :39:687)
at Object.handleTransactionResponse (sugar_grp1_yui.js?v=L5D8o44IVEtxQaPmiDTJyw:109)
at sugar_grp1_yui.js?v=L5D8o44IVEtxQaPmiDTJyw:109
(anonymous) @ sugar_grp1.js?v=L5D8o44IVEtxQaPmiDTJyw:438
globalEval @ sugar_grp1.js?v=L5D8o44IVEtxQaPmiDTJyw:438
postSave @ VM247:39
handleTransactionResponse @ sugar_grp1_yui.js?v=L5D8o44IVEtxQaPmiDTJyw:109
(anonymous) @ sugar_grp1_yui.js?v=L5D8o44IVEtxQaPmiDTJyw:109
setInterval (async)
handleReadyState @ sugar_grp1_yui.js?v=L5D8o44IVEtxQaPmiDTJyw:109
asyncRequest @ sugar_grp1_yui.js?v=L5D8o44IVEtxQaPmiDTJyw:109
save @ VM247:39
onclick @ index.php?action=ajaxui:1

Is this the problem you’re getting?

https://github.com/salesagility/SuiteCRM/pull/6940

If so, there is a fix there which should be coming out in the next version.

Yes this error is appearing in browser console.I checked with github solution that you hhave povided but its not working for save role changes.

Either wait for the next upgrade, or try to troubleshoot by checking for errors in your logs when you try to save.

(I’ll be away on vacations for a week so I won’t be answering you for a while)