Exception

TypeError

count(): Argument #1 ($value) must be of type Countable|array, string given

$_GET = [
    'category_id' => [
        '48',
    ],
];