Notice: Trying to get property 'id' of non-object in /var/www/html/source/App/Web.php on line 707

Fatal error: Uncaught TypeError: Argument 1 passed to CoffeeCode\DataLayer\DataLayer::findById() must be of the type int, null given, called in /var/www/html/source/App/Web.php on line 707 and defined in /var/www/html/vendor/coffeecode/datalayer/src/DataLayer.php:139 Stack trace: #0 /var/www/html/source/App/Web.php(707): CoffeeCode\DataLayer\DataLayer->findById(NULL) #1 /var/www/html/vendor/coffeecode/router/src/Dispatch.php(143): Source\App\Web->recipesShow(Array) #2 /var/www/html/vendor/coffeecode/router/src/Dispatch.php(123): CoffeeCode\Router\Dispatch->execute() #3 /var/www/html/index.php(43): CoffeeCode\Router\Dispatch->dispatch() #4 {main} thrown in /var/www/html/vendor/coffeecode/datalayer/src/DataLayer.php on line 139