Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

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

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