Error

PHP Noticeyii\base\ErrorException

Undefined offset: 1

$_GET = [
    'cat' => '1',
];