Additional uncaught exception thrown while handling exception.

Original

TypeError: Argument 2 passed to Drupal\ebsco_fmo\EbscoFmoService::getEhostLink() must be of the type string, null given, called in /code/web/modules/custom/ebsco_fmo/src/EbscoFmoService.php on line 308 in Drupal\ebsco_fmo\EbscoFmoService->getEhostLink() (line 204 of /code/web/modules/custom/ebsco_fmo/src/EbscoFmoService.php).

Drupal\ebsco_fmo\EbscoFmoService->getEhostLink(Array, NULL) (Line: 308)
Drupal\ebsco_fmo\EbscoFmoService->link()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 578)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
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: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 717)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Additional

TypeError: Argument 1 passed to Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::logException() must be an instance of Exception, instance of TypeError given, called in /code/web/modules/contrib/new_relic_rpm/src/Logger/NewRelicLogger.php on line 117 in Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter->logException() (line 29 of /code/web/modules/contrib/new_relic_rpm/src/ExtensionAdapter/ExtensionAdapter.php).

Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter->logException(Object) (Line: 117)
Drupal\new_relic_rpm\Logger\NewRelicLogger->log(3, '%type: @message in %function (line %line of %file) @backtrace_string.', Array) (Line: 127)
Drupal\Core\Logger\LoggerChannel->log(3, '%type: @message in %function (line %line of %file) @backtrace_string.', Array) (Line: 175)
_drupal_log_error(Array, 1) (Line: 330)
_drupal_exception_handler(Object)