Error

PHP Warningyii\base\ErrorException

Trying to access array offset on value of type null

$_GET = [
    'prospactus' => '83',
    'ptype' => 'Course',
];