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 ('79572', '65898', '62570', '62522', '79726', '75784', '79728', '123128', '62557', '79684', '62526', '62407', '66261', '64341', '79722', '79679', '79671', '79581', '74942', '62576', '62685', '79729', '79586', '66279', '62571', '75124', '75127', '79621', '62527', '79603', '79622', '74941', '62523', '62605', '62373', '74901', '62520', '62459', '62558', '62507', '79578', '79727', '62627', '79593', '65890', '62382', '79724', '75726', '62528', '62388', '79683', '62579', '79676', '79678', '79738', '62549', '79623', '74893', '62500', '79715', '66267', '62517', '74911', '79579', '62402', '64320', '62381', '62589', '65817', '74896', '79606', '62514', '62400', '79575', '62652', '75126', '123161', '79596', '79594', '62512', '62499', '79691', '79602', '62392', '62385', '74899', '74923', '62509', '62497', '62518', '79618', '65777', '66106', '75936', '62623', '79570', '66284', '64331', '62380', '79675', '62492', '74910', '79736', '62355', '79695', '62508', '64342', '74952', '79588', '62687', '66270', '75123', '62534', '62395', '74916', '62650', '79719', '62364', '65914', '65887', '62498', '123142', '65478', '62532', '62640', '65871', '62676', '79686', '66258', '79716', '66277', '79620', '79573', '74946', '75125', '62560', '62688', '74951', '79717', '62398', '74949', '62552', '79680', '62578', '79590', '62602', '62621', '62384', '62613', '62346', '79611', '72807', '65781', '79688', '79682', '79574', '66170', '62403', '79626', '123140', '123158', '123159', '79725', '62642', '62494', '74895', '65888', '62543', '62630', '79669', '79577', '74934', '79591', '65795', '74903', '79599', '74800', '79739', '79696', '79592', '62559', '75937', '62542', '79732', '79693', '123126', '79595', '62645', '62529', '72918', '65918', '79612', '79667', '66257', '62633', '79617', '65818', '79583', '62577', '62646', '79604', '76181', '64345', '62689', '62365', '64314', '62603', '66259', '74922', '62538', '62457', '62639', '74917', '62399', '79610', '62369', '79624', '66171', '79619', '64306', '79681', '62583', '62394', '79587', '62553', '62383', '79720', '62567', '62641', '66275', '79685', '62363', '62530', '62504', '79625', '79664', '62433', '79597', '72925', '79697', '62581', '62506', '65889', '74921', '79580', '79666', '62379', '79670', '62467', '62510', '62503', '64350', '74894', '79673', '62377', '62515', '123141', '74929', '66265', '79668', '79714', '79687', '79734', '65473', '62564', '75122', '62580', '62638', '62519', '62495', '62356', '62371', '79605', '65816', '65916', '62378', '62590', '65913', '62362', '79723', '123160', '79598', '62636', '79672', '66173', '79613', '62501', '79614', '79600', '64329', '62496', '79735', '62637', '62586', '79616', '74948', '62493', '79601', '123127', '62386', '79576', '79689', '65776', '62624', '62397', '79731', '62387', '79674', '62390', '62502', '79607', '79571', '79615', '79718', '66254', '79677', '74928', '74913', '62606', '74797', '79589', '75150', '74919', '79737', '79584', '62539', '66262', '79585', '74900', '62675', '79665', '79740', '79582', '62352', '76959', '79690', '66175', '79733', '62631', '79694', '79730', '62376')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) ORDER BY RAND(585617) LIMIT 9 [[1021] Disk full (/var/tmp/#sql_76d_0); waiting for someone to free some space...]

DB query error.
Please try later.