Typically, when I see an error like this, it is an indication that the function has been inadvertently overwritten by something that is not a function. Below is an example of this. ==========================================Beyond this, the code that you shared has issues. It is recursing and inst...