MySQL Error
SELECT 
  pages_3.parent AS l3, 
  pages_4.title AS lt3, 
  pages_2.parent AS l2, 
  pages_3.title AS lt2, 
  pages_1.parent AS l1, 
  pages_2.title AS lt1, 
  pages.parent AS l0, 
  pages_1.title AS lt0 
FROM 
  pages 
  LEFT OUTER JOIN pages pages_1 ON pages.parent = pages_1.id 
  LEFT OUTER JOIN pages pages_2 ON pages_1.parent = pages_2.id 
  LEFT OUTER JOIN pages pages_3 ON pages_2.parent = pages_3.id 
  LEFT OUTER JOIN pages pages_4 ON pages_3.parent = pages_4.id 
WHERE 
  pages.id IN ()
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 10
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterSelect.php
Line: 382
Function: query
Arguments: SELECT pages_3.parent AS l3, pages_4.title AS lt3, pages_2.parent AS l2, pages_3.title AS lt2, pages_1.parent AS l1, pages_2.title AS lt1, pages.parent AS l0, pages_1.title AS lt0 FROM pages LEFT OUTER JOIN pages pages_1 ON pages.parent = pages_1.id LEFT OUTER JOIN pages pages_2 ON pages_1.parent = pages_2.id LEFT OUTER JOIN pages pages_3 ON pages_2.parent = pages_3.id LEFT OUTER JOIN pages pages_4 ON pages_3.parent = pages_4.id WHERE pages.id IN ()
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterSelect.php
Line: 239
Function: level_catalog
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterSelect.php
Line: 67
Function: processCatalogTable
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterHelperBase.php
Line: 129
Function: processCalculate
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/CatalogFilterWidget.php
Line: 332
Function: getJoins
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterHelperBase.php
Line: 109
Function: getJoinsExcludeFilter
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterSelect.php
Line: 141
Function: getMergedJoins
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterSelect.php
Line: 65
Function: processMulti
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterIcons.php
Line: 19
Function: processCalculate
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/helpers/CatalogFilterHelperBase.php
Line: 129
Function: processCalculate
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogFilterWidget/CatalogFilterWidget.php
Line: 265
Function: getJoins
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogBuilderWidget.php
Line: 178
Function: getJoins
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/widgets/CatalogBuilderWidget.php
Line: 64
Function: initSQL
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/core/base/AWidget.php
Line: 141
Function: init
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/core/base/AWidget.php
Line: 40
Function: __construct
Arguments: default
Filename: /home/bitrix/ext_www/divefish.com.ua/frontend/controllers/CatalogController.php
Line: 54
Function: getInstance
Arguments:
Filename:
Line:
Function: actionIndex
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/core/base/AAction.php
Line: 128
Function: invokeArgs
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/core/vendors/zteel/web/Application.php
Line: 335
Function: performAction
Arguments:
Filename: /home/bitrix/ext_www/divefish.com.ua/core/vendors/zteel/base/Module.php
Line: 515
Function: applyController
Arguments: catalog
Filename: /home/bitrix/ext_www/divefish.com.ua/core/vendors/zteel/web/Application.php
Line: 310
Function: applyRoute
Arguments: catalog
Filename: /home/bitrix/ext_www/divefish.com.ua/core/vendors/zteel/web/Application.php
Line: 275
Function: applyRoute
Arguments: catalog
Filename: /home/bitrix/ext_www/divefish.com.ua/index.php
Line: 30
Function: route
Arguments: