Exception

Database Exceptionyii\db\Exception

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'minipiac_hu.rating' doesn't exist
The SQL being executed was: SELECT AVG(rating) FROM `rating` WHERE target=124

Error Info: Array
(
    [0] => 42S02
    [1] => 1146
    [2] => Table 'minipiac_hu.rating' doesn't exist
)
$_GET = [
    'id' => '124',
];