107

108

$ctatSelect = $CatalogClass->getCatByAlias($URI[2]);

109

110 $childCats = $CatalogClass->getSubCats($ctatSelect['id']);

111

112

$childCats[] = $ctatSelect['id'];

113

29-11-2020 Замечание № 8

Описание ошибки: Undefined index: id

Вызов из /var/www/delosite38ru/data/www/btur.delosite38.ru/catalog/index.php строка № 110

109

110

$childCats = $CatalogClass->getSubCats($ctatSelect['id']);

111

112 $childCats[] = $ctatSelect['id'];

113

114

if(!empty($childCats)) {

115

29-11-2020 Замечание № 8

Описание ошибки: Undefined index: id

Вызов из /var/www/delosite38ru/data/www/btur.delosite38.ru/catalog/index.php строка № 112

SQL Error: 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 at /var/www/delosite38ru/data/www/btur.delosite38.ru/engine/Inclusio/Component/Item/Class.php line 252
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
)