[TypeError] 
array_shift(): Argument #1 ($array) must be of type array, null given (0)
/home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.element/templates/one/template.php:25
#0: array_shift(NULL)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.element/templates/one/template.php:25
#1: include(string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790
#2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885
#3: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:776
#4: CBitrixComponent->showComponentTemplate()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:716
#5: CBitrixComponent->includeComponentTemplate()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4707
#6: Bitrix\Iblock\Component\Base->loadData()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/elementlist.php:1330
#7: Bitrix\Iblock\Component\ElementList->loadData()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4686
#8: Bitrix\Iblock\Component\Base->initialLoadAction()
	
#9: call_user_func(array)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4873
#10: Bitrix\Iblock\Component\Base->doAction()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4891
#11: Bitrix\Iblock\Component\Base->executeComponent()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:660
#12: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/main.php:1072
#13: CAllMain->IncludeComponent(string, string, array, object)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog/templates/.default/modification.php:71
#14: include(string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790
#15: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885
#16: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:776
#17: CBitrixComponent->showComponentTemplate()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:716
#18: CBitrixComponent->includeComponentTemplate(string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog/class.php:122
#19: SgCatalog->executeComponent()
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:660
#20: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/main.php:1072
#21: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/catalog/index.php:22
#22: include_once(string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184
#23: include_once(string)
	/home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/urlrewrite.php:2
----------