[Error]
Only variables can be passed by reference (0)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/modules/main/classes/general/php_parser.php:117
#0: PHPParser::GetParamsRec(string, array, string)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/modules/main/classes/general/php_parser.php:117
#1: PHPParser::GetParamsRec(string, array, array)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/modules/main/classes/general/php_parser.php:285
#2: PHPParser::GetComponentParams(string, array)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/modules/main/classes/general/php_parser.php:361
#3: PHPParser::ParseScript(string)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/modules/main/classes/general/php_parser.php:780
#4: PHPParser::FindComponent(string, string, integer)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/modules/main/public/component_props2.php:101
#5: require(string)
/var/www/www-root/data/www/xn--b1aftlcheoc0h.xn--p1ai/bitrix/admin/component_props.php:1
----------
$arParams = PHPParser::GetParams($paramsList);
foreach ($arParams as $i => $el)
{
$p = mb_strpos($el, "=>");
if ($p === false)
{
if(is_string($arResult))
{
$arResult = PHPParser::ReplString($el, $arAllStr);
}
else
{
var_dump($el);
var_dump($arAllStr);
var_dump($arResult[$i]);
PHPParser::GetParamsRec($el, $arAllStr, $arResult[$i]);
}
}
else
{
$el_ind = PHPParser::ReplString(mb_substr($el, 0, $p), $arAllStr);
$el_val = mb_substr($el, $p + 2);
PHPParser::GetParamsRec($el_val, $arAllStr, $arResult[$el_ind]);
}
}
}
else
{
$arResult = PHPParser::ReplString($params, $arAllStr);
}
PHPParser::GetParamsRec($el_val, $arAllStr, $arResult[$el_ind]);
/* Бренд АКБ */
* Формируем массив активных элементов */
$arSelect = Array("ID", "PROPERTY_BREND_AKB");
$arFilter = Array("IBLOCK_ID"=>$podborParams["IBLOCK_ID"], 'SECTION_ID'=>$podborParams["SECTION_ID"], 'ACTIVE'=>"Y");
$res = CIBlockElement::GetList(Array(), $arFilter, false, false, $arSelect);
if (Bitrix\Main\Loader::includeModule('twofingers.location'))
$location = \TwoFingers\Location\Entity\Location::buildCurrent();
$smp = $location->getPrimary();
$ID = CSaleLocation::getLocationIDbyCODE($smp);
$arLocs = CSaleLocation::GetByID($ID);
echo $arLocs["CITY_ID"];