Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

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

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