CDbCommand не удалось исполнить SQL-запрос: SQLSTATE[42000]: Syntax error or access violation: 1064 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 2#0 /www/kinderus/docs/releases/20190729151416/framework/db/CDbCommand.php(455): CDbCommand->queryInternal('fetchAll', Array, Array) #1 /www/kinderus/docs/releases/20190729151416/kinderspb/components/kinderspb/parts/categoryItemProduct/CategoryItemProductComponent.php(87): CDbCommand->queryColumn() #2 /www/kinderus/docs/releases/20190729151416/kinderspb/src/modules/brands/view.php(365): kinderspb\parts\categoryItemProduct\CategoryItemProductComponent->categoriesItemsIds(Array) #3 /www/kinderus/docs/releases/20190729151416/kinderspb/src/modules/brands/view.php(395): Brands_View->getRootCategories(Object(kinderspb\catalog\brand\Brand)) #4 /www/kinderus/docs/releases/20190729151416/kinderspb/src/modules/brands/view.php(459): Brands_View->getProductsTypes(Object(kinderspb\catalog\brand\Brand), 5, Object(Closure)) #5 /www/kinderus/docs/releases/20190729151416/kinderspb/src/modules/brands/view.php(472): Brands_View->getMetaTitle(Object(kinderspb\catalog\brand\Brand)) #6 /www/kinderus/docs/releases/20190729151416/kinderspb/src/modules/brands/view.php(189): Brands_View->setAutoTitles(Object(kinderspb\catalog\brand\Brand)) #7 /www/kinderus/docs/releases/20190729151416/kinderspb/src/system/core.php(168): Brands_View->showSingle() #8 /www/kinderus/docs/releases/20190729151416/kinderspb/index.php(60): Core->processWebRequest() #9 {main}
  (0) Debug::backtrace() at /www/kinderus/docs/releases/20190729151416/kinderspb/src/system/core.php:236
  (1) Core->processWebRequest() at /www/kinderus/docs/releases/20190729151416/kinderspb/index.php:60