In case that it helps this is what I'm getting in developer console when I'm typing something in search box. Once I hit the submit I get the 500 error.
GET https://mydomain.com/en/search?q=clothing&limit=10×tamp=1567166518821&ajaxSearch=1&id_lang=1 500 (Internal Server Error)
(anonymous) @ VM307:1
send @ jquery-1.11.0.min.js:4
ajax @ jquery-1.11.0.min.js:4
request @ jquery.autocomplete.js:341
onChange @ jquery.autocomplete.js:241
setTimeout (async)
(anonymous) @ jquery.autocomplete.js:151
dispatch @ jquery-1.11.0.min.js:3
r.handle @ jquery-1.11.0.min.js:3
PS: I've just replaced my domain with mydomain.com
Any help is very much appreciated.