I am trying to make a condition which does not produces errors in the log.
Tried:
[request.getQueryParams() && request.getQueryParams()['tx_news_pi1'] && request.getQueryParams()['tx_news_pi1']['news'] > 0 && request.getQueryParams()['tx_news_pi1']['news'] in [857,858,913,914]]
and
[traverse(request.getQueryParams(), 'tx_news_pi/news') in [857,858,913,914]]
both give Unable to get an item of non-array