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