Slim Application Error

The application could not run because of the following error:

Details

Type: TypeError
Message: Argument 1 passed to App\Model\Venda\Imobredes\ImovelCaracteristica::getCaracteristicasImovel() must be of the type int, null given, called in C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\src\Services\Venda\Imobredes\DetalhesImovelService.php on line 47
File: C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\src\Model\Venda\Imobredes\ImovelCaracteristica.php
Line: 109

Trace

#0 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\src\Services\Venda\Imobredes\DetalhesImovelService.php(47): App\Model\Venda\Imobredes\ImovelCaracteristica->getCaracteristicasImovel(NULL, 101)
#1 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\src\Controllers\HomeController.php(209): App\Services\Venda\Imobredes\DetalhesImovelService->getImovel('6149')
#2 [internal function]: App\Controllers\HomeController->detalhesImovelVenda(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#3 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\Handlers\Strategies\RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#6 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\App.php(407): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#10 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\vendor\slim\slim\Slim\App.php(315): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#11 C:\inetpub\vhosts\casa4imoveis.com.br\httpdocs\public\index.php(36): Slim\App->run()
#12 {main}