Error

PHP Noticeyii\base\ErrorException

Undefined index: cart

$_GET = [
    'id' => '528',
];

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