Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

TypeError

app\models\Category::findBySlug(): Return value must be of type app\models\Category|array, null returned

$_GET = [
    'page' => 1,
    'type' => 'index',
];