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

DB query error.
Please try later.