[TypeError] Return value of Cosmos\Content::restoreTree() must be of the type array, null returned (0) /var/www/www-root/data/www/avtopoliv.me/local/php_interface/include/lib/Cosmos/Content.php:298 #0: Cosmos\Content::restoreTree /var/www/www-root/data/www/avtopoliv.me/local/templates/main/components/bitrix/menu/header/result_modifier.php:31 #1: include(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component_template.php:882 #2: CBitrixComponentTemplate->__IncludeMutatorFile /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component_template.php:789 #3: CBitrixComponentTemplate->IncludeTemplate /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component.php:745 #4: CBitrixComponent->showComponentTemplate /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component.php:693 #5: CBitrixComponent->includeComponentTemplate /var/www/www-root/data/www/avtopoliv.me/bitrix/components/bitrix/menu/component.php:386 #6: include(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component.php:604 #7: CBitrixComponent->__includeComponent /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component.php:103 #8: CBitrixComponent->executeComponent /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/component.php:648 #9: CBitrixComponent->includeComponent /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/main.php:1039 #10: CAllMain->IncludeComponent /var/www/www-root/data/www/avtopoliv.me/local/templates/main/header.php:123 #11: include_once(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/include/prolog_after.php:106 #12: include(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/classes/general/main.php:287 #13: CAllMain->AuthForm /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/include.php:1667 #14: require_once(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/include/prolog_before.php:14 #15: require_once(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/modules/main/include/prolog.php:10 #16: require_once(string) /var/www/www-root/data/www/avtopoliv.me/bitrix/header.php:1 #17: require(string) /var/www/www-root/data/www/avtopoliv.me/avtopoliv/index.php:3