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

DB query error.
Please try later.