Warning: foreach() argument must be of type array|object, null given in /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php on line 111

Fatal error: Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php:118 Stack trace: #0 /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php(118): min() #1 /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php(102): getUnitLowestAmount() #2 /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php(74): getPriceFrom() #3 /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php(10): getDataArray() #4 /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaRouter.tpl.php(117): include('...') #5 /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaRouter.tpl.php(106): includeTemplate() #6 /var/www/adm.horvatorszag/public_html/ui/index.php(51): include('...') #7 /var/www/adm.horvatorszag/public_html/ui/index.php(32): loadTemplateFromTreeXMLByRelativePath() #8 {main} thrown in /var/www/adm.horvatorszag/public_html/ui/tpl/croatiaHouse.tpl.php on line 118