Всё сломалось!
Класс: 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_612ccad50c9300_62754277([object]);
Smarty_Internal_Template::_subTemplateRender("file:./outer/default.html",[object],[object],[object],[object],[object],[object],[object]);
Smarty_Internal_Template::render();
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_612cb6074a12d0_73884952([object]);
Smarty_Internal_Template::_subTemplateRender("file:./../zchk.html",[object],[object],[object],[object],[object],[object],[object]);
Smarty_Internal_Template::render();
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_612cd1b682a572_28375616([object]);
::smarty_function_exec([object],[object]);
engine::runComp("filter",[object]);
filter::run();
filter::fillProps();
filter::getDataForProp([object]);
DB::execSQL("SELECT min(cat_props.`float`) val FROM cat_data_to_sect_rel JOIN cat_common_props ON cat_data_to_sect_rel.item_id=cat_common_props.item_id JOIN cat_props ON cat_data_to_sect_rel.item_id=cat_props.item_id AND cat_props.prop_id="f236f8e2" JOIN cat_sect_tree ON cat_data_to_sect_rel.sect_id=cat_sect_tree.sect_id AND cat_data_to_sect_rel.prim=1 WHERE cat_common_props.enable AND cat_data_to_sect_rel.lkey>=425 AND cat_data_to_sect_rel.rkey<=476 ");
SELECT min(cat_props.`float`) val
FROM cat_data_to_sect_rel
JOIN cat_common_props ON cat_data_to_sect_rel.item_id=cat_common_props.item_id
JOIN cat_props ON cat_data_to_sect_rel.item_id=cat_props.item_id AND cat_props.prop_id="f236f8e2"
JOIN cat_sect_tree ON cat_data_to_sect_rel.sect_id=cat_sect_tree.sect_id AND cat_data_to_sect_rel.prim=1
WHERE cat_common_props.enable AND cat_data_to_sect_rel.lkey>=425 AND cat_data_to_sect_rel.rkey<=476
MySQL server has gone away