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

DB query error.
Please try later.