Internal error: 'NoneType' object is not iterable

UPDATE! I found my problem!
In version 1.6.0p22 I integrated a Nagios (standalone) server by livestatus
The Nagios server is CentOs 7.9 and livestatus is: check-mk-livestatus-1.4.0p31-2.el7.x86_64
Unfortunatly this gimmick doesn’t work anymore, probably due to livestatus version.
I’ll try to compile the last one.