Thank you for directing me to GitHub!I tried with those fixes, but without success.First I removed this from include/ajax.users.php:87: ->annotate(array('relevance' => new SqlCode(1)))Then I restarted Apache, refreshed "Open A New Ticket" page and tested if lookup works.It doesn't.Then I added this to include/ajax.users.php:307: $id = str_replace('/','\\',$id);Again restarted Apache and refresh page and it still doesn't work.Then I inserted line 87 again, restarted Apache, refreshed, tried and still doesn't work.What am I doing wrong?As I said earlier, lookup in Agent panel works well.But on "Open a New Ticket" page it doesn't work.