98

$_GET['cat'] = $explode[0];

99

$categoryInfo = $Zupr->selectEl("catalog", " WHERE id={$_GET["cat"]} AND visibility=1");

100

101 $categotyItemCount = $categoryInfo['countItem'];

102

if( empty($categotyItemCount) ){

103

$categoryInfo['countItem'] = $Zupr->selectElCou('item', "WHERE `cat_id` =1412 AND visibility =1");

104

$categotyItemCount = $categoryInfo['countItem'];
15-07-2020 Замечание № 8

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

Вызов из /var/www/delositenet/data/www/piligrim.delosite.net/catalog/index.php строка № 101

126

}

127

}

128

//var_dump($categoryInfo);die;

129 $thisCat = $categoryInfo['title'];

130

131

$parentCategoryInfo = $Zupr->selectEl("catalog", " WHERE id={$categoryInfo["parent_id"]}");

132

15-07-2020 Замечание № 8

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

Вызов из /var/www/delositenet/data/www/piligrim.delosite.net/catalog/index.php строка № 129

128

//var_dump($categoryInfo);die;

129

$thisCat = $categoryInfo['title'];

130

131 $parentCategoryInfo = $Zupr->selectEl("catalog", " WHERE id={$categoryInfo["parent_id"]}");

132

133

if (!empty($parentCategoryInfo)){

134

15-07-2020 Замечание № 8

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

Вызов из /var/www/delositenet/data/www/piligrim.delosite.net/catalog/index.php строка № 131

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 '' at line 1 at /var/www/delositenet/data/www/piligrim.delosite.net/engine/Inclusio/Component/Zapr/Class.php line 8
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 '' at line 1
    [query] => SELECT * FROM catalog  WHERE id=
    [context] => /var/www/delositenet/data/www/piligrim.delosite.net/engine/Inclusio/Component/Zapr/Class.php line 8
)