Fatal error: Uncaught TypeError: Return value of App\Repositories\TourRepository::getTourById() must be of the type array, null returned in /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/app/Repositories/TourRepository.php:200 Stack trace: #0 /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/app/Services/TourService.php(63): App\Repositories\TourRepository->getTourById('index') #1 /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/app/Controllers/TourController.php(78): App\Services\TourService->getTourById('index') #2 [internal function]: App\Controllers\TourController->detail('index') #3 /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/app/Core/Router.php(121): call_user_func_array(Array, Array) #4 /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/app/Core/Router.php(88): App\Core\Router->callController('TourController', 'detail', Array) #5 /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/index.php(45): App\Core\Router->dispatch() #6 {main} th in /home/krabibes/domains/seaskyleisure.psshop41.com/public_html/app/Repositories/TourRepository.php on line 200