141
142
$ctatSelect = $CatalogClass->getCatByAlias($URI[2]);
143
144 $childCats = $CatalogClass->getSubCats($ctatSelect['id']);
145
146
$childCats[] = $ctatSelect['id'];
147
Описание ошибки: Undefined index: id
Вызов из /var/www/delosite38ru/data/www/btur.delosite38.ru/catalog/index.php строка № 144
143
144
$childCats = $CatalogClass->getSubCats($ctatSelect['id']);
145
146 $childCats[] = $ctatSelect['id'];
147
148
if(!empty($childCats)) {
149
Описание ошибки: Undefined index: id
Вызов из /var/www/delosite38ru/data/www/btur.delosite38.ru/catalog/index.php строка № 146
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `order` ASC LIMIT 0,99' at line 1 [query] => SELECT * FROM `item` WHERE `visibility` = 1 AND `cat_id` IN () ORDER BY `order` ASC LIMIT 0,99 [context] => /var/www/delosite38ru/data/www/btur.delosite38.ru/engine/Inclusio/Component/Item/Class.php line 252 )