[ArgumentCountError] 
substr() expects at least 2 arguments, 1 given (0)
/home/bitrix/ext_www/wo.ua/local/modules/sg.core/lib/redirect.php:167
#0: substr(string)
	/home/bitrix/ext_www/wo.ua/local/modules/sg.core/lib/redirect.php:167
#1: Sg\Core\Redirect->validatePath(string)
	/home/bitrix/ext_www/wo.ua/local/modules/sg.core/lib/redirect.php:149
#2: Sg\Core\Redirect->globalRedirect()
	/home/bitrix/ext_www/wo.ua/local/templates/redesign/header.php:23
#3: include_once(string)
	/home/bitrix/ext_www/wo.ua/bitrix/modules/main/include/prolog_after.php:120
#4: require(string)
	/home/bitrix/ext_www/wo.ua/bitrix/modules/main/include/prolog.php:11
#5: require_once(string)
	/home/bitrix/ext_www/wo.ua/bitrix/header.php:1
#6: require(string)
	/home/bitrix/ext_www/wo.ua/catalog/index.php:3
#7: include_once(string)
	/home/bitrix/ext_www/wo.ua/bitrix/modules/main/include/urlrewrite.php:184
#8: include_once(string)
	/home/bitrix/ext_www/wo.ua/bitrix/urlrewrite.php:2
----------