Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

$_GET = [
    'title' => 'tshirt',
    'id' => 'rbGXlLf2B358rbGXlLf2B3',
];

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