Typeerror: Data.html[K].indexof Is Not A Function

Im experiencing this issue when I try to “Recalculate Totals” in order in my addon:



TypeError: data.html[k].indexOf is not a function




What does it mean? How to fix it?

Even we are facing this error while checkout

Uncaught TypeError: data.html[k].indexOf is not a function

// If returned data contains forms and we're inside the form, move it to body
                    if (data.html[k].indexOf('
        

Im experiencing this issue when I try to "Recalculate Totals" in order in my addon:

TypeError: data.html[k].indexOf is not a function
What does it mean? How to fix it?

Did you get a fix for this ?

This error can occur if some ajax-request is broken.

Try disabling all 3rd party add-ons and find out whether it is the standard code does not work or not.