Неперехваченное исключение
Ошибка: Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'lolmimrd_spbdeta.c1.int_val' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by. Sql query: SELECT SQL_CACHE
h.id, MAX(c3p.level)
FROM
cms3_objects o,
cms3_hierarchy h
, cms3_object_content c1
,cms3_permissions c3p
WHERE
h.obj_id = o.id AND
h.is_deleted = '0'
AND (c1.obj_id = o.id AND c1.field_id = '74')
AND h.is_active = '1'
AND h.type_id IN ('10')
AND ((c3p.owner_id = '2373' AND c3p.rel_id = h.id AND c3p.level >= '1') OR (c3p.owner_id = '2373' AND c3p.rel_id = h.id AND c3p.level >= '1'))
AND h.lang_id = '1'
AND h.domain_id = '1'
GROUP BY h.id
ORDER BY c1.int_val DESC
LIMIT 0, 4
Показать отладочную информацию
#0 /home/l/lolmimrd/spbdetal.ru/public_html/classes/modules/news/class.php(293): umiSelectionsParser::runSelection(Object(umiSelection))
#1 [internal function]: news->related_links('25319')
#2 /home/l/lolmimrd/spbdetal.ru/public_html/classes/modules/def_module.php(129): call_user_func_array(Array, Array)
#3 /home/l/lolmimrd/spbdetal.ru/public_html/classes/systemCore/templater/templater.php(253): def_module->cms_callMethod('related_links', Array)
#4 /home/l/lolmimrd/spbdetal.ru/public_html/classes/systemCore/templater/templater.php(188): templater->executeMacros(Array)
#5 /home/l/lolmimrd/spbdetal.ru/public_html/classes/systemCore/templater/templater.php(127): templater->parseMacros('%news related_l...')
#6 /home/l/lolmimrd/spbdetal.ru/public_html/classes/modules/def_module.php(380): templater->parseInput('\n%data getPrope...')
#7 /home/l/lolmimrd/spbdetal.ru/public_html/classes/modules/news/class.php(265): def_module::parseTemplate('\n%data getPrope...', Array, 25319)
#8 /home/l/lolmimrd/spbdetal.ru/public_html/classes/modules/news/class.php(353): news->view(25319)
#9 /home/l/lolmimrd/spbdetal.ru/public_html/classes/modules/def_module.php(131): news->item()
#10 /home/l/lolmimrd/spbdetal.ru/public_html/def_macroses.php(44): def_module->cms_callMethod('item', NULL)
#11 /home/l/lolmimrd/spbdetal.ru/public_html/index.php(214): macros_content()
#12 {main}