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('31153283')
#1 C:\xampp\htdocs\web\index.php(137): DiputadosController->homeUno('31153283')
#2 {main}
thrown in C:\xampp\htdocs\web\views\DiputadosView.php on line 29