Exception

Database Exceptionyii\db\Exception

SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

$_GET = [
    'type' => 'event',
    'action' => 'new',
];

$_SESSION = [
    '__flash' => [],
];