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

Error: Call to a member function getName() on null in Drupal\merritt_dynamic_routes\UrlConverter\PropertiesSearch->getPropertyTypeTermOptions() (line 228 of modules/custom/merritt_dynamic_routes/src/UrlConverter/PropertiesSearch.php).
Drupal\merritt_dynamic_routes\UrlConverter\PropertiesSearch->getTermOptions() (Line: 380)
Drupal\merritt_dynamic_routes\UrlConverter\PropertiesSearch->fromFancyUrlToQueryString('prince-william/retail') (Line: 53)
Drupal\merritt_dynamic_routes\PathProcessor\MerrittPropertiesPathProcessor->processInbound('/properties/prince-william/retail', Object) (Line: 70)
Drupal\Core\PathProcessor\PathProcessorManager->processInbound('/properties/prince-william/retail', Object) (Line: 138)
Drupal\redirect\EventSubscriber\RedirectRequestSubscriber->onKernelRequestCheckRedirect(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)