[Error] 
Call to a member function IsAdmin() on null (0)
/home/bitrix/www/bitrix/modules/defa.tools/classes/general/defa/admin.service.php:10
#0: DefaTools_AdminService->__construct()
	/home/bitrix/www/bitrix/modules/defa.tools/classes/general/ib_copy.php:23
#1: DefaTools_IB_Copy->__construct()
	/home/bitrix/www/bitrix/modules/defa.tools/include.php:24
#2: include_once(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:143
#3: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:110
#4: Bitrix\Main\Loader::includeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:261
#5: CModule::IncludeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:444
#6: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/usertype.php:947
#7: CUserTypeManager->GetUserType(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/usertype.php:1056
#8: CUserTypeManager->GetUserFields(string)
	/home/bitrix/www/bitrix/modules/main/lib/userfield.php:129
#9: Bitrix\Main\UserFieldTable::attachFields(object, string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:309
#10: Bitrix\Main\ORM\Entity->postInitialize()
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:121
#11: Bitrix\Main\ORM\Entity::getInstanceDirect(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:104
#12: Bitrix\Main\ORM\Entity::getInstance(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/fields/relations/relation.php:83
#13: Bitrix\Main\ORM\Fields\Relations\Relation->getRefEntity()
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/chain.php:241
#14: Bitrix\Main\ORM\Query\Chain::getChainByDefinition(object, string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/fields/expressionfield.php:251
#15: Bitrix\Main\ORM\Fields\ExpressionField->getBuildFromChains()
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:2975
#16: Bitrix\Main\ORM\Query\Query->collectExprChains(object, array)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:1088
#17: Bitrix\Main\ORM\Query\Query->addToSelectChain(string, string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:2188
#18: Bitrix\Main\ORM\Query\Query->buildQuery()
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:788
#19: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/sale/lib/compatible/compatible.php:601
#20: Bitrix\Sale\Compatible\OrderQuery->compatibleExec(object, NULL)
	/home/bitrix/www/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:488
#21: Bitrix\Sale\Compatible\Internals\EntityCompatibility->execute()
	/home/bitrix/www/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:162
#22: Bitrix\Sale\Compatible\Internals\EntityCompatibility::setGetListParameters(object, array, array, boolean, boolean, array, boolean)
	/home/bitrix/www/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php:110
#23: Bitrix\Sale\Compatible\Internals\EntityCompatibility::getList(array, array, boolean, boolean, array, boolean)
	/home/bitrix/www/bitrix/modules/sale/mysql/order.php:494
#24: CSaleOrder::GetList(array, array)
	/home/bitrix/www/bitrix/modules/storeassist/classes/general/storeassist.php:294
#25: CStoreAssist::AgentCountDayOrders()
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php(162) : eval()'d code:1
#26: eval
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:162
#27: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:40
#28: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:271
#29: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#30: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#31: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#32: require(string)
	/home/bitrix/www/login/registration.php:3