141

142

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

143

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

145

146

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

147

19-03-2024 Замечание № 8

Описание ошибки: 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

19-03-2024 Замечание № 8

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

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

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
)