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

DB query error.
Please try later.