Exception: Query error HY000: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query. Query: SELECT
COUNT(*) AS `count`
FROM `sites`
WHERE `active` = 1 AND `sites`.`deleted` = 0
modules/core/database/pdo.php:675 Core_Exception->__construct
modules/core/querybuilder/statement.php:78 Core_DataBase_Pdo->query
modules/core/orm.php:618 Core_QueryBuilder_Statement->execute
modules/core/entity.php:594 Core_ORM->getCount
index.php:32 Core_Entity->getCount