Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'id' of non-object

$_GET = [
    'slug' => 'greengy-energy-bar-raspberries-hazelnuts-dates',
];

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