MySQL Query Error: SELECT BE.ID as ID,DATE_FORMAT(BE.TIMESTAMP_X, '%d.%m.%Y %H:%i:%s') as TIMESTAMP_X,UNIX_TIMESTAMP(BE.TIMESTAMP_X) as TIMESTAMP_X_UNIX,BE.MODIFIED_BY as MODIFIED_BY,DATE_FORMAT(BE.DATE_CREATE, '%d.%m.%Y %H:%i:%s') as DATE_CREATE,UNIX_TIMESTAMP(BE.DATE_CREATE) as DATE_CREATE_UNIX,BE.CREATED_BY as CREATED_BY,BE.IBLOCK_ID as IBLOCK_ID,BE.IBLOCK_SECTION_ID as IBLOCK_SECTION_ID,BE.ACTIVE as ACTIVE,IF(EXTRACT(HOUR_SECOND FROM BE.ACTIVE_FROM)>0, DATE_FORMAT(BE.ACTIVE_FROM, '%d.%m.%Y %H:%i:%s'), DATE_FORMAT(BE.ACTIVE_FROM, '%d.%m.%Y')) as ACTIVE_FROM,IF(EXTRACT(HOUR_SECOND FROM BE.ACTIVE_TO)>0, DATE_FORMAT(BE.ACTIVE_TO, '%d.%m.%Y %H:%i:%s'), DATE_FORMAT(BE.ACTIVE_TO, '%d.%m.%Y')) as ACTIVE_TO,IF(EXTRACT(HOUR_SECOND FROM BE.ACTIVE_FROM)>0, DATE_FORMAT(BE.ACTIVE_FROM, '%d.%m.%Y %H:%i:%s'), DATE_FORMAT(BE.ACTIVE_FROM, '%d.%m.%Y')) as DATE_ACTIVE_FROM,IF(EXTRACT(HOUR_SECOND FROM BE.ACTIVE_TO)>0, DATE_FORMAT(BE.ACTIVE_TO, '%d.%m.%Y %H:%i:%s'), DATE_FORMAT(BE.ACTIVE_TO, '%d.%m.%Y')) as DATE_ACTIVE_TO,BE.SORT as SORT,BE.NAME as NAME,BE.PREVIEW_PICTURE as PREVIEW_PICTURE,BE.PREVIEW_TEXT as PREVIEW_TEXT,BE.PREVIEW_TEXT_TYPE as PREVIEW_TEXT_TYPE,BE.DETAIL_PICTURE as DETAIL_PICTURE,BE.DETAIL_TEXT as DETAIL_TEXT,BE.DETAIL_TEXT_TYPE as DETAIL_TEXT_TYPE,BE.SEARCHABLE_CONTENT as SEARCHABLE_CONTENT,BE.WF_STATUS_ID as WF_STATUS_ID,BE.WF_PARENT_ELEMENT_ID as WF_PARENT_ELEMENT_ID,BE.WF_LAST_HISTORY_ID as WF_LAST_HISTORY_ID,BE.WF_NEW as WF_NEW,if (BE.WF_DATE_LOCK is null, 'green', if(DATE_ADD(BE.WF_DATE_LOCK, interval 60 MINUTE)<now(), 'green', if(BE.WF_LOCKED_BY=0, 'yellow', 'red'))) as LOCK_STATUS,BE.WF_LOCKED_BY as WF_LOCKED_BY,DATE_FORMAT(BE.WF_DATE_LOCK, '%d.%m.%Y %H:%i:%s') as WF_DATE_LOCK,BE.WF_COMMENTS as WF_COMMENTS,BE.IN_SECTIONS as IN_SECTIONS,BE.SHOW_COUNTER as SHOW_COUNTER,DATE_FORMAT(BE.SHOW_COUNTER_START, '%d.%m.%Y %H:%i:%s') as SHOW_COUNTER_START,BE.CODE as CODE,BE.TAGS as TAGS,BE.XML_ID as XML_ID,BE.XML_ID as EXTERNAL_ID,BE.TMP_ID as TMP_ID,concat('(',U.LOGIN,') ',ifnull(U.NAME,''),' ',ifnull(U.LAST_NAME,'')) as USER_NAME,concat('(',UL.LOGIN,') ',ifnull(UL.NAME,''),' ',ifnull(UL.LAST_NAME,'')) as LOCKED_USER_NAME,concat('(',UC.LOGIN,') ',ifnull(UC.NAME,''),' ',ifnull(UC.LAST_NAME,'')) as CREATED_USER_NAME,L.DIR as LANG_DIR,B.LID as LID,B.IBLOCK_TYPE_ID as IBLOCK_TYPE_ID,B.CODE as IBLOCK_CODE,B.NAME as IBLOCK_NAME,B.XML_ID as IBLOCK_EXTERNAL_ID,B.DETAIL_PAGE_URL as DETAIL_PAGE_URL,B.LIST_PAGE_URL as LIST_PAGE_URL,B.CANONICAL_PAGE_URL as CANONICAL_PAGE_URL,DATE_FORMAT(BE.DATE_CREATE, '%Y.%m.%d') as CREATED_DATE,if(BE.WF_STATUS_ID = 1, 'Y', 'N') as BP_PUBLISHED 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_user U ON U.ID=BE.MODIFIED_BY LEFT JOIN b_user UL ON UL.ID=BE.WF_LOCKED_BY LEFT JOIN b_user UC ON UC.ID=BE.CREATED_BY WHERE 1=1 AND ( (((BE.ID IN ('62650', '79681', '66106', '79666', '123160', '62362', '79625', '62371', '62583', '79612', '79621', '79693', '62373', '75784', '79683', '66259', '79732', '79605', '79664', '79725', '62514', '79684', '62590', '123127', '65817', '79691', '62402', '62527', '62542', '62376', '74949', '64320', '79731', '62576', '62381', '66254', '65889', '74895', '62364', '62520', '62557', '62499', '66171', '79740', '123161', '79687', '62553', '62496', '79671', '62641', '79577', '74894', '79674', '64329', '79597', '79730', '79714', '79623', '79594', '62507', '72925', '74916', '62605', '62581', '74951', '79727', '79696', '79697', '62502', '79616', '74921', '66257', '62397', '79682', '62558', '65816', '64331', '62433', '76959', '64306', '62497', '65781', '62399', '79575', '66277', '62534', '66170', '79669', '62637', '79580', '79572', '74913', '62394', '75122', '62403', '123142', '75126', '79579', '62689', '65898', '62526', '66262', '75124', '62378', '62589', '74946', '62377', '62492', '79583', '66173', '62398', '123126', '62467', '79601', '62493', '79736', '79680', '65777', '75150', '62613', '79724', '62515', '62400', '62386', '62621', '79672', '62518', '62603', '62639', '79619', '74896', '123158', '79667', '62580', '62549', '62459', '62543', '62510', '74911', '79729', '74923', '123128', '65887', '72807', '79573', '79615', '62530', '74917', '65914', '79723', '123141', '62571', '62356', '79595', '66175', '74797', '74922', '64345', '62636', '65776', '62508', '79611', '79738', '74900', '66279', '79587', '79735', '62675', '62388', '62577', '65473', '75726', '62570', '79722', '79585', '79726', '79614', '62532', '62538', '62379', '74903', '62501', '62528', '65871', '79695', '62384', '79598', '79734', '79626', '79688', '79685', '62395', '79574', '79665', '79584', '74901', '65818', '62495', '79596', '62646', '79690', '62407', '79622', '66258', '62382', '62392', '79613', '79593', '79617', '79603', '79570', '79677', '79618', '62559', '62642', '62578', '62560', '62498', '62355', '123140', '62579', '74941', '74942', '62369', '62519', '76181', '62517', '62638', '62586', '79589', '62633', '75123', '64314', '79588', '62494', '79592', '66267', '62383', '79675', '74934', '79607', '62509', '79590', '64341', '79599', '79668', '62627', '62564', '79571', '79689', '62624', '66265', '62522', '62567', '65478', '62500', '79676', '65918', '62606', '62640', '79576', '62685', '62506', '62512', '62645', '75127', '72918', '64350', '79604', '79606', '66284', '62503', '79720', '75937', '62687', '62457', '79737', '79620', '79602', '62390', '62385', '79728', '62504', '65890', '65795', '66261', '62352', '79670', '74929', '62552', '79600', '62602', '74928', '74948', '79581', '62676', '79586', '74893', '65888', '62539', '65913', '79610', '79719', '62630', '79733', '79578', '66270', '64342', '74952', '62346', '62688', '79624', '62623', '79686', '79591', '74800', '123159', '65916', '62631', '79715', '79694', '62387', '66275', '62365', '74919', '79716', '79718', '62363', '79673', '79717', '62380', '75936', '75125', '62529', '62652', '62523', '79739', '74910', '79582', '79678', '74899', '79679')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) ORDER BY RAND(174355) LIMIT 9 [[1021] Disk full (/var/tmp/#sql_76d_0); waiting for someone to free some space...]

DB query error.
Please try later.