SQL: [184] SELECT t.id FROM sm2_tpl t WHERE t.visible = :visible AND t.avail_site IN(1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22) GROUP BY t.id Sent SQL: [177] SELECT t.id FROM sm2_tpl t WHERE t.visible = 1 AND t.avail_site IN(1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22) GROUP BY t.id Params: 1 Key: Name: [8] :visible paramno=-1 name=[8] ":visible" is_param=1 param_type=1 CMSException Object ( [message:protected] => DB_QUERY_FAIL: [[00000array ( 0 => '00000', 1 => 1054, 2 => 'Unknown column \'2C2\' in \'where clause\'', )]] SELECT t.id FROM sm2_tpl t WHERE t.visible = :visible AND t.avail_site IN(1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22) GROUP BY t.id [string:Exception:private] => [code:protected] => 0 [file:protected] => /home/www/www.themeshunter.com/www/engine/plugins/Db/CMSPluginDbQuery.class.php [line:protected] => 82 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/www/www.themeshunter.com/www/engine/modules/Template/CMSLogicTemplate.class.php [line] => 503 [function] => execute [class] => CMSPluginDbQuery [type] => -> ) [1] => Array ( [file] => /home/www/www.themeshunter.com/www/engine/modules/Template/controllers/CMSCntrlTemplateSearch.class.php [line] => 219 [function] => count [class] => CMSLogicTemplate [type] => -> ) [2] => Array ( [file] => /home/www/www.themeshunter.com/www/engine/modules/Core/controllers/CMSCntrlCore.class.php [line] => 120 [function] => endPoint [class] => CMSCntrlTemplateSearch [type] => -> ) [3] => Array ( [file] => /home/www/www.themeshunter.com/www/engine/modules/Core/controllers/CMSCntrlCore.class.php [line] => 83 [function] => dispatchRequest [class] => CMSCntrlCore [type] => -> ) [4] => Array ( [file] => /home/www/www.themeshunter.com/www/engine/modules/Core/controllers/CMSCntrlCore.class.php [line] => 59 [function] => runUrlParts [class] => CMSCntrlCore [type] => :: ) [5] => Array ( [file] => /home/www/www.themeshunter.com/www/index.php [line] => 20 [function] => run [class] => CMSCntrlCore [type] => :: ) ) [previous:Exception:private] => )