drush – Upgrading to Drupal 9 causes an error

I upgraded to drupal 9. I am facing this issue. I did see through query raised regarding this in Drupal.org however there was no specific answer related to this. could you please advise. Thanks

Upgrading from Drupal 8.9.16 to 9.0.14

Followed the offical doc https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-to-drupal-9-or-later

Error appears after the drupal/core has been upgraded to 9.0.14 with all the dependencies

It has around 4 custom modules.

The website encountered an unexpected error. Please try again later.

InvalidArgumentException: No converter has been registered for paramconverter.latest_revision in DrupalCoreParamConverterParamConverterManager->getConverter() (line 39 of core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php).

DrupalCoreParamConverterParamConverterManager->convert() (Line: 45)
DrupalCoreRoutingEnhancerParamConversionEnhancer->enhance() (Line: 255)
DrupalCoreRoutingRouter->applyRouteEnhancers() (Line: 129)
DrupalCoreRoutingRouter->matchRequest() (Line: 92)
DrupalCoreRoutingAccessAwareRouter->matchRequest() (Line: 112)
SymfonyComponentHttpKernelEventListenerRouterListener->onKernelRequest() (Line: 78)
SymfonyComponentEventDispatcherLegacyEventDispatcherProxy->dispatch() (Line: 134)
SymfonyComponentHttpKernelHttpKernel->handleRaw() (Line: 80)
SymfonyComponentHttpKernelHttpKernel->handle() (Line: 57)
DrupalCoreStackMiddlewareSession->handle() (Line: 47)
DrupalCoreStackMiddlewareKernelPreHandle->handle() (Line: 191)
Drupalpage_cacheStackMiddlewarePageCache->fetch() (Line: 128)
Drupalpage_cacheStackMiddlewarePageCache->lookup() (Line: 82)
Drupalpage_cacheStackMiddlewarePageCache->handle() (Line: 47)
DrupalCoreStackMiddlewareReverseProxyMiddleware->handle() (Line: 52)
DrupalCoreStackMiddlewareNegotiationMiddleware->handle() (Line: 23)
StackStackedHttpKernel->handle() (Line: 705)
DrupalCoreDrupalKernel->handle() (Line: 19)