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

DB query error.
Please try later.