Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getAverageRating() on null

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

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