Всё сломалось!
Класс: 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 DISTINCT cat_props.text val FROM cat_data_to_sect_rel JOIN cat_props ON cat_data_to_sect_rel.item_id=cat_props.item_id AND cat_props.prop_id="04c63f8d" WHERE cat_data_to_sect_rel.lkey>=497 AND cat_data_to_sect_rel.rkey<=528 ORDER BY cat_props.text ");
SELECT DISTINCT cat_props.text val
FROM cat_data_to_sect_rel
JOIN cat_props ON cat_data_to_sect_rel.item_id=cat_props.item_id AND cat_props.prop_id="04c63f8d"
WHERE cat_data_to_sect_rel.lkey>=497 AND cat_data_to_sect_rel.rkey<=528
ORDER BY cat_props.text
MySQL server has gone away