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

DB query error.
Please try later.