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
I found out that an old condition still existed in a system template which caused the var/log/typo3_x.log entry. So the condition examples above are good.