Fatal error: Uncaught TypeError: Argument 1 passed to Services\DbContext::increaseRecipeViewsCount() must be of the type integer, null given, called in /home/becook/www/www2/src/services/RecipesService.php on line 200 and defined in /home/becook/www/www2/src/services/DbContext.php:163 Stack trace: #0 /home/becook/www/www2/src/services/RecipesService.php(200): Services\DbContext->increaseRecipeViewsCount(NULL) #1 /home/becook/www/www2/src/controllers/RecipeController.php(31): Services\RecipesService->increaseViewsCount(Object(Models\Recipe)) #2 /home/becook/www/www2/src/models/Router.php(75): Controllers\RecipeController->get(Array, 'en-us', Object(stdClass)) #3 /home/becook/www/www2/src/models/App.php(28): Models\Router::route(Array, Object(Models\Lang), Object(stdClass)) #4 /home/becook/www/www2/index.php(16): Models\App->run() #5 {main} thrown in /home/becook/www/www2/src/services/DbContext.php on line 163