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

DB query error.
Please try later.