I have an autocomplete field, which has been working perfectly for 1-2 days. Suddenly, it stoped working. I re-wrote the code, cleared the cache, and it works again. After comparing code, it is exactly the same code. I cannot trace the error. The problem is that it does not give back any results and the Firebug error is:
TypeError: matches is null
if (typeof matches.status == 'undefined' || matches.status != 0)...
I cannot understand why it suddenly stopped working.
I have traced back the problem to a warning by Drupal:
call_user_func_array()expects parameter 1 to be a valid callback, function '_search_idiomas_autocomplete/list/confirm/' not found or invalid function name in
Still not sure where the problem is. The code is standard autocomplete field from official documentation examples.