Additional uncaught exception thrown while handling exception.

Original

Error: Class 'Drupal\Core\Validation\ConstraintFactory' not found in Drupal\Core\Validation\ConstraintManager->__construct() (line 43 of /var/www/moaca/core/lib/Drupal/Core/Validation/ConstraintManager.php).

Drupal\Core\Validation\ConstraintManager->__construct()
ReflectionClass->newInstanceArgs() (Line: 1142)
Symfony\Component\DependencyInjection\ContainerBuilder->createService() (Line: 618)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet() (Line: 1265)
Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() (Line: 1213)
Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() (Line: 1621)
Symfony\Component\DependencyInjection\ContainerBuilder->callMethod() (Line: 1167)
Symfony\Component\DependencyInjection\ContainerBuilder->createService() (Line: 618)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet() (Line: 1265)
Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() (Line: 1213)
Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() (Line: 1115)
Symfony\Component\DependencyInjection\ContainerBuilder->createService() (Line: 618)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet() (Line: 1265)
Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() (Line: 1213)
Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() (Line: 1115)
Symfony\Component\DependencyInjection\ContainerBuilder->createService() (Line: 618)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet() (Line: 558)
Symfony\Component\DependencyInjection\ContainerBuilder->get() (Line: 207)
Drupal::service() (Line: 450)
install_begin_request() (Line: 116)
install_drupal() (Line: 48)

Additional

ArgumentCountError: Too few arguments to function _drupal_error_handler_real(), 4 passed in /var/www/moaca/core/includes/bootstrap.inc on line 347 and exactly 5 expected in _drupal_error_handler_real() (line 61 of /var/www/moaca/core/includes/errors.inc).

_drupal_error_handler_real() (Line: 347)
_drupal_error_handler()
trigger_error() (Line: 248)
drupal_get_path() (Line: 257)
Drupal\Core\Config\InstallStorage->getCoreFolder() (Line: 220)
Drupal\Core\Config\InstallStorage->getCoreNames() (Line: 153)
Drupal\Core\Config\InstallStorage->getAllFolders() (Line: 95)
Drupal\Core\Config\InstallStorage->exists() (Line: 104)
Drupal\Core\Config\FileStorage->read() (Line: 131)
Drupal\Core\Config\FileStorage->readMultiple() (Line: 165)
Drupal\Core\Config\ConfigFactory->doLoadMultiple() (Line: 104)
Drupal\Core\Config\ConfigFactory->doGet() (Line: 89)
Drupal\Core\Config\ConfigFactory->get() (Line: 106)
Drupal\Core\Extension\ThemeHandler->listInfo() (Line: 64)
_drupal_maintenance_theme() (Line: 506)
drupal_maintenance_theme() (Line: 1025)
install_display_output() (Line: 267)
_drupal_log_error() (Line: 365)
_drupal_exception_handler()