TypeError (0) Argument 1 passed to PaginaController::indexAction() must be of the type int, object given