Additional uncaught exception thrown while handling exception.

Additional uncaught exception thrown while handling exception.

Original

TypeError: Drupal\Core\Utility\Error::decodeException(): Argument #1 ($exception) must be of type Throwable, null given, called in /var/app/current/web/core/lib/Drupal/Core/Utility/Error.php on line 108 in Drupal\Core\Utility\Error::decodeException() (line 46 of /var/app/current/web/core/lib/Drupal/Core/Utility/Error.php).

Drupal\Core\Utility\Error::decodeException() (Line: 108)
Drupal\Core\Utility\Error::renderExceptionSafe() (Line: 204)
_drupal_exception_handler_additional() (Line: 90)
Drupal\error_page\ErrorPageRenderer::render() (Line: 258)
Drupal\error_page\ErrorPageErrorHandler::logError() (Line: 52)
Drupal\error_page\ErrorPageErrorHandler::handleError() (Line: 761)
include_once('/var/app/current/web/sites/default/settings/dev/aws.dev.php') (Line: 1012)
require('/var/app/current/web/sites/default/settings.php') (Line: 146)
Drupal\Core\Site\Settings::initialize() (Line: 1094)
Drupal\Core\DrupalKernel->initializeSettings() (Line: 701)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Additional

Error: Class "Drupal\error_page\ErrorPagePhpErrorLogger" not found in Drupal\error_page\ErrorPageErrorHandler::logError() (line 179 of /var/app/current/web/modules/contrib/error_page/src/ErrorPageErrorHandler.php).

Drupal\error_page\ErrorPageErrorHandler::logError() (Line: 102)
Drupal\error_page\ErrorPageErrorHandler::handleException()