Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

$_GET = [
    'title' => 'cotton-printed-kurta-shirt',
    'id' => '9mP3sjOvCq489mP3sjOvCq',
];

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