Всё сломалось!
Класс: DB
engine::run();
engine::runComp("catcontent");
catcontent::run();
cTemplate::tplFetch("main");
Smarty_Internal_TemplateBase::fetch("main.html");
Smarty_Internal_TemplateBase::_execute([object],[object],[object],[object],[object]);
Smarty_Internal_Template::render([object],[object]);
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_5ebfd783322020_56136972([object]);
Smarty_Internal_Template::_subTemplateRender("file:./outer/index.html",[object],[object],[object],[object],[object],[object],[object]);
Smarty_Internal_Template::render();
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_5ebfd783369ef2_34685517([object]);
::smarty_function_exec([object],[object]);
engine::runComp("catsections",[object]);
catsections::run();
catsections::getSections();
catsections::_getSections([object],[object]);
DB::execSQL("SELECT
cat_common_props.item_id,
cat_common_props.redirect_url,
cat_common_props.target,
cat_sect_tree.p_sect_id,
cat_sect_tree.type_id,
cat_common_props.title,
cat_common_props.short_title,
cat_common_props.url,
cat_common_props.modify_ts,
cat_common_props.access,
GROUP_CONCAT(cat_access.group_id) groups,
cat_common_props.data_cache,
cat_common_props.data_cache_ts
FROM cat_sect_tree
LEFT JOIN cat_common_props ON cat_sect_tree.sect_id=cat_common_props.item_id
LEFT JOIN cat_access ON cat_sect_tree.sect_id=cat_access.item_id
WHERE cat_common_props.enable=1 AND cat_common_props.exclude_menu="0" AND cat_sect_tree.p_sect_id="0"
GROUP BY cat_sect_tree.sect_id
ORDER BY cat_sect_tree.ord
");
SELECT
cat_common_props.item_id,
cat_common_props.redirect_url,
cat_common_props.target,
cat_sect_tree.p_sect_id,
cat_sect_tree.type_id,
cat_common_props.title,
cat_common_props.short_title,
cat_common_props.url,
cat_common_props.modify_ts,
cat_common_props.access,
GROUP_CONCAT(cat_access.group_id) groups,
cat_common_props.data_cache,
cat_common_props.data_cache_ts
FROM cat_sect_tree
LEFT JOIN cat_common_props ON cat_sect_tree.sect_id=cat_common_props.item_id
LEFT JOIN cat_access ON cat_sect_tree.sect_id=cat_access.item_id
WHERE cat_common_props.enable=1 AND cat_common_props.exclude_menu="0" AND cat_sect_tree.p_sect_id="0"
GROUP BY cat_sect_tree.sect_id
ORDER BY cat_sect_tree.ord
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups,
cat_common_props.data_cache,
cat_common_props.data_cache_ts
' at line 12