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

Catchable fatal error: 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 on line 12