100

}

101

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

102

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

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

104

if( empty($categotyItemCount) ){

105

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

106

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

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

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

116

die();

117

}

118

}

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

120

121

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

122

28-10-2020 Замечание № 8

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

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

118

}

119

$thisCat = $categoryInfo['title'];

120

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

122

123

if (!empty($parentCategoryInfo)){

124

28-10-2020 Замечание № 8

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

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

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
)