Error: data.message.search is not a function

I’m seeing this error suddenly after updating to 7.2 (in the js console) -

anyone else facing this?
Uncaught TypeError: data.message.search is not a function at Object.frappe.msgprint (http://ecapsulepll/assets/js/desk.min.js:102:17) at http://ecapsulepll/assets/js/desk.min.js:95:75 at Array.forEach (native) at Object.frappe.msgprint (http://ecapsulepll/assets/js/desk.min.js:95:48) at Object.frappe.request.cleanup (http://ecapsulepll/assets/js/desk.min.js:150:118) at Object.<anonymous> (http://ecapsulepll/assets/js/desk.min.js:143:16) at i (http://ecapsulepll/assets/frappe/js/lib/jquery/jquery.min.js:2:27151) at Object.fireWith [as rejectWith] (http://ecapsulepll/assets/frappe/js/lib/jquery/jquery.min.js:2:27914) at z (http://ecapsulepll/assets/frappe/js/lib/jquery/jquery.min.js:4:12084) at XMLHttpRequest.<anonymous> (http://ecapsulepll/assets/frappe/js/lib/jquery/jquery.min.js:4:15619)

Hi @kirthi,

Did you check with the command bench build ?

1 Like