getTableArray Query failed: ERROR: syntax error at or near "encodeURI" LINE 1: ...'/' || subpage) like '%/scripts/plugins/ol-ext/' encodeURI(... ^ select * from widgets where ((('/' || section || '/' || page || '/' || subpage) like '%/scripts/plugins/ol-ext/' encodeURI(e.Attribution.OnlineResource) '%' AND (POSITION (section IN '/scripts/plugins/ol-ext/' encodeURI(e.Attribution.OnlineResource) '') > 0) ) OR (('/' || section || '/' || page || '/' || subpage) like '/default/scripts/plugins/ol-ext/' encodeURI(e.Attribution.OnlineResource) '%')) and (("class" = 'workspace' OR "class" = 'secondary-navigation') ) order by arrangeby;