Error "Invalid argument supplied for foreach"

Could be related with: Frisches Neos 4.3 mit Demo Package - Exception im Hauptmenü

I fixed the problem by downgrading the typo3fluid package from 2.6.1 to 2.6.0 and the php version from 7.3 to 7.2