ERROR [2] Invalid argument supplied for foreach()
Fatal error on line 115 in file /var/www/giacob/protected/modules/app/model/app_paesi.php, PHP 5.6.40-0+deb8u4 (Linux)
Aborting...
#0  BB_error_handler() called at [/var/www/giacob/protected/modules/app/model/app_paesi.php:115]
#1  app_paesi->get_visible() called at [/var/www/giacob/protected/nodes/agenzianova/paesi/agenzianova_paesi_node.component.php:33]
#2  BB_agenzianova_paesi_node->load_render_data() called at [/var/www/giacob/protected/system/core/node.component.php:291]
#3  BB_node->render() called at [/var/www/giacob/protected/system/core/block.component.php:147]
#4  BB_block::render() called at [/var/www/giacob/protected/system/helpers/block_helper.class.php:263]
#5  BB_block_helper::render_block() called at [/var/www/giacob/protected/system/helpers/block_helper.class.php:228]
#6  BB_block_helper::render_blocks() called at [/var/www/giacob/web/themes/agenzianova/views/frontend.php:101]
#7  include(/var/www/giacob/web/themes/agenzianova/views/frontend.php) called at [/var/www/giacob/protected/system/core/common.php:260]
#8  BB_include() called at [/var/www/giacob/protected/system/core/view.component.php:155]
#9  BB_view->load_view_file() called at [/var/www/giacob/protected/system/core/view.component.php:193]
#10 BB_view->load_composite_file() called at [/var/www/giacob/protected/system/core/view.component.php:217]
#11 BB_view->generate_output() called at [/var/www/giacob/protected/system/core/BB.component.php:171]
#12 BB->run() called at [/var/www/giacob/protected/system/core/bootstrap.php:52]
#13 require_once(/var/www/giacob/protected/system/core/bootstrap.php) called at [/var/www/giacob/web/agenzianova_prod.php:16]