Error

PHP Noticeyii\base\ErrorException

Undefined offset: 9

$_GET = [
    'cat' => '9',
    'sort' => 'desc',
    'by' => 'price',
];