--> Внимание! 🔄 Идет обновление цен. Актуальные цены уточняйте по телефону!

logics

Не значительная ошибка

21

$breadcrumbs['/catalog'.$cat['path']] = $cat['title'];

22

$idItem = $catalogClass->checkItemUrl($url);

23

$item = $catalogClass->getCatalogItem('item', $catId, $idItem);

24 $item = $item[0];

25

26

$attrCat = $catalogClass->getAttrCat($item['catigor']);

27

31-10-2026 Замечание № 8

Описание ошибки: Undefined offset: 0

Вызов из /var/www/a4work/data/www/xn--80apgbmchndhd8exb0d.xn--p1ai/Template/site/page/Card.php строка № 24

logics

Ошибка в mysql запросе

613

614

public function getAttrCat($id, $tableName = 'item_attr_cat'){

615

$table = $this->table($tableName);

616 return $this->db->select("SELECT * FROM {$table} WHERE id_category = {$id} ORDER BY `order` ASC");

617

}

618

619

public function getByIdItemAttr($id){
31-10-2026 Ошибка в SQL запросе: № 1064

Описание ошибки: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `order` ASC' at line 1

SQL строка: SELECT * FROM item_attr_cat WHERE id_category = ORDER BY `order` ASC

Вызов из /var/www/a4work/data/www/xn--80apgbmchndhd8exb0d.xn--p1ai/Component/Model_Section/Catalog/Class.php строка № 616