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