Notice: Trying to get property 'id' of non-object in /home/disenoyg/public_html/app/src/Model/DevelopmentAmenity.php on line 20

Fatal error: Uncaught TypeError: Argument 1 passed to App\Model\DevelopmentGallery::byDevelopment() must be an instance of App\Model\Development, boolean given, called in /home/disenoyg/public_html/app/src/Controller/SiteController.php on line 90 and defined in /home/disenoyg/public_html/app/src/Model/DevelopmentGallery.php:12 Stack trace: #0 /home/disenoyg/public_html/app/src/Controller/SiteController.php(90): App\Model\DevelopmentGallery->byDevelopment(false) #1 /home/disenoyg/public_html/vendor/symfony/http-kernel/HttpKernel.php(151): App\Controller\SiteController->desarrollo(Object(App\Core\App), 'provenza-reside...') #2 /home/disenoyg/public_html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /home/disenoyg/public_html/vendor/silex/silex/src/Silex/Application.php(496): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /home/disenoyg/public_html/vendor/s in /home/disenoyg/public_html/app/src/Model/DevelopmentGallery.php on line 12