Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'title' in 'order clause'
The SQL being executed was: SELECT * FROM `events` ORDER BY `title` DESC LIMIT 20

Error Info: Array
(
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'title' in 'order clause'
)
$_GET = [
    'sort' => '-title',
];