Fatal error: Uncaught Error: Call to a member function getCodigo() on null in C:\xampp\htdocs\web\views\DiputadosView.php:29 Stack trace: #0 C:\xampp\htdocs\web\controller\DiputadosController.php(62): DiputadosView->showUno('14723861') #1 C:\xampp\htdocs\web\index.php(137): DiputadosController->homeUno('14723861') #2 {main} thrown in C:\xampp\htdocs\web\views\DiputadosView.php on line 29