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