Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

$_GET = [
    'title' => 'test-products',
    'id' => '6z5awPlISZ3906z5awPlISZ',
];

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