Fatal error: Uncaught TypeError: App\Models\Category::getCategoryBySlug(): Return value must be of type array, null returned in /home/hotrohoc/test123.io.vn/app/Models/Category.php:75 Stack trace: #0 /home/hotrohoc/test123.io.vn/app/Controllers/User/ProductController.php(147): App\Models\Category->getCategoryBySlug() #1 /home/hotrohoc/test123.io.vn/index.php(245): App\Controllers\User\ProductController->categoryProducts() #2 [internal function]: {closure}() #3 /home/hotrohoc/test123.io.vn/app/Core/Router.php(74): call_user_func_array() #4 /home/hotrohoc/test123.io.vn/index.php(544): App\Core\Router->run() #5 {main} thrown in /home/hotrohoc/test123.io.vn/app/Models/Category.php on line 75