City-of-Bloomington / master_address

Web application for handling city addressing
https://bloomington.in.gov/master_address
GNU Affero General Public License v3.0
0 stars 1 forks source link

Error when trying to edit Sanitation info #141

Closed laurahaley closed 3 years ago

laurahaley commented 3 years ago

The following error occurred when trying to edit sanitation values on a location.

Fatal error: Uncaught TypeError: Argument 1 passed to Domain\Locations\UseCases\Find\Find::__invoke() must be an instance of Domain\Locations\UseCases\Find\FindRequest, array given, called in /srv/sites/master_address/src/Application/Sanitation/Controller.php on line 47 and defined in /srv/sites/master_address/src/Domain/Locations/UseCases/Find/Find.php:20 Stack trace: #0 /srv/sites/master_address/src/Application/Sanitation/Controller.php(47): Domain\Locations\UseCases\Find\Find->__invoke() #1 /srv/sites/master_address/public/index.php(29): Application\Sanitation\Controller->update() #2 {main} thrown in /srv/sites/master_address/src/Domain/Locations/UseCases/Find/Find.php on line 20

I went ahead and edited the values directly in the database