Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

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

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