FILE: /var/www/admin/data/www/mirkrasok.ru/bitrix/modules/iblock/classes/mysql/iblockelement.php
LINE: 784
MySQL Query Error: SELECT DISTINCT BE.ID as ID,BE.IBLOCK_ID as IBLOCK_ID,BE.NAME as NAME,BE.PREVIEW_TEXT as PREVIEW_TEXT,B.DETAIL_PAGE_URL as DETAIL_PAGE_URL,BE.IBLOCK_SECTION_ID as IBLOCK_SECTION_ID,L.DIR as LANG_DIR, FPV0.VALUE as PROPERTY_TT_PICKPOINT_VALUE, FPV0.ID as PROPERTY_TT_PICKPOINT_VALUE_ID,BE.CODE as CODE,BE.XML_ID as EXTERNAL_ID,B.IBLOCK_TYPE_ID as IBLOCK_TYPE_ID,B.CODE as IBLOCK_CODE,B.XML_ID as IBLOCK_EXTERNAL_ID,B.LID as LID,BE.PREVIEW_TEXT_TYPE as PREVIEW_TEXT_TYPE FROM b_iblock B INNER JOIN b_lang L ON B.LID=L.LID INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID LEFT JOIN b_iblock_property FP0 ON FP0.IBLOCK_ID = B.ID AND FP0.CODE='TT_PICKPOINT' LEFT JOIN b_iblock_element_property FPV0 ON FPV0.IBLOCK_PROPERTY_ID = FP0.ID AND FPV0.IBLOCK_ELEMENT_ID = BE.ID INNER JOIN ( SELECT DISTINCT BSE.IBLOCK_ELEMENT_ID FROM b_iblock_section_element BSE INNER JOIN b_iblock_section BS ON BSE.IBLOCK_SECTION_ID = BS.ID WHERE ((BS.GLOBAL_ACTIVE = 'Y')) ) BES ON BES.IBLOCK_ELEMENT_ID = BE.ID INNER JOIN b_iblock_70_index FC on FC.ELEMENT_ID = BE.ID WHERE 1=1 AND ( (FC.SECTION_ID = 1017 AND FC.FACET_ID = 1 AND FC.VALUE_NUM = 0 AND FC.VALUE in (0) and FC.INCLUDE_SUBSECTIONS=1) AND ((((BE.IBLOCK_ID = '70')))) AND ((((BE.ACTIVE='Y')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) ORDER BY FPV0.VALUE_NUM desc [[3065] Expression #1 of ORDER BY clause is not in SELECT list, references column 'mirkrasok.FPV0.VALUE_NUM' which is not in SELECT list; this is incompatible with DISTINCT]

DB query error.
Please try later.