string(697) "SELECT "p"."id", "p"."name", "p"."type", "p"."id_parent", "p"."parent_type" FROM "kit_pages_favicon.ico_conditions" "p" LEFT JOIN "kit_pages_translation_favicon.ico_conditions" "ptr" ON (("p"."id" = "ptr"."id_page") AND ("ptr"."id_language" = 15)) WHERE ("p"."type" = 'projects_condition') AND ("p"."type" not in ('project','project_queue','project_section','project_floor','project_layout','project_step','sitemap','review','agency_office','smi','slide','search','post')) AND ("p"."seo_index" = 1) AND ("p"."publish" >= 1) AND ("p"."type" in ('project','project_queue','project_section','project_floor','project_layout','project_step','projects_condition')) ORDER BY "p"."id_parent", "p"."name""
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, false given in /var/www/gpcore/themes/realestate/core/modules/pages/helpers/main.php:334
Stack trace:
#0 /var/www/gpcore/themes/realestate/core/modules/pages/helpers/main.php(334): count()
#1 /var/www/gpcore/tools/functions.php(955): KIT\Core\Modules\Pages\Helpers\Main::items()
#2 /var/www/gpcore/themes/realestate/tools/sitemaphtml.php(52): getPages()
#3 /var/www/gpcore/themes/realestate/tools/sitemaphtml.php(186): KIT\Tools\SitemapHTML->items()
#4 /var/www/gpcore/themes/realestate/pages/system/sitemap.php(34): KIT\Tools\SitemapHTML->draw()
#5 /var/www/gpcore/themes/realestate/kernel/abstract_page.php(244): KIT\Themes\RealEstate\Pages\System\Sitemap->createPageBody()
#6 /var/www/gpcore/constructor.php(79): KIT\Kernel\abstract_page->createPage()
#7 /var/www/georgia-property.com/public_html/index.php(7): include('...')
#8 {main}
thrown in /var/www/gpcore/themes/realestate/core/modules/pages/helpers/main.php on line 334