Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getNombre() on null

$_GET = [
    'nombrePromocion' => 'planificacion-estrategica',
    'id' => '18',
];

$_SESSION = [
    '__flash' => [],
];