Search box gives error

Not sure what I did but when I try to search for a patient I get this error

msg.toLowercase not a function

I can’t figure it out. I have a test site and it works but I don’t understand where that search box is stored?

It is the top menu area where the patient picture shows up. HELP!

try turning off User Debug in globals.

I selected None but still get the error.

did you log out then back in. clear browser cache also.

I did. Now I get a data tables error.
DataTables warning: table id=pt_table - Invalid JSON response. For more information about this error, please see

I figured it out. It had to do with a field put in as uppercase instead of lower.