I have been using the standard Search Widget with version 3.6.5 of the Flexviewer with a server offering REST services from 10.11. I am testing a new server with 10.22. Everything else remains the same. Everything in my viewer works, except the Search Widget. Gives an error about failing to execute the query.

The query is the same. I have tried it with and without standardized query enforced.
My query was:
<expression>UPPER(Combined_Admin_Names_135) LIKE UPPER('%[value]%')</expression>
I tried a simpler one that still failed:
<expression>Combined_Admin_Names_135 LIKE '[value]'</expression>
Any ideas?