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