Additional uncaught exception thrown while handling exception.

Original

ArgumentCountError: Too few arguments to function _drupal_error_handler(), 4 passed and exactly 5 expected in Symfony\Component\Yaml\Parser->parse() (line 122 of /home/kmfx8814/public_html/drupal-8/vendor/symfony/yaml/Parser.php).

Symfony\Component\Yaml\Parser->parse() (Line: 37)
Drupal\Component\Serialization\YamlSymfony::decode() (Line: 35)
Drupal\Component\Serialization\Yaml::decode() (Line: 332)
Drupal\Core\DependencyInjection\YamlFileLoader->loadFile() (Line: 63)
Drupal\Core\DependencyInjection\YamlFileLoader->load() (Line: 1284)
Drupal\Core\DrupalKernel->compileContainer() (Line: 891)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 18)
Drupal\Core\Installer\InstallerKernel->initializeContainer() (Line: 467)
Drupal\Core\DrupalKernel->boot() (Line: 423)
install_begin_request() (Line: 114)
install_drupal() (Line: 44)

Additional

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "theme.manager". in Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (line 1022 of /home/kmfx8814/public_html/drupal-8/vendor/symfony/dependency-injection/ContainerBuilder.php).

Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (Line: 589)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet() (Line: 567)
Symfony\Component\DependencyInjection\ContainerBuilder->get() (Line: 675)
Drupal::theme() (Line: 22)
_drupal_maintenance_theme() (Line: 740)
drupal_maintenance_theme() (Line: 972)
install_display_output() (Line: 260)
_drupal_log_error() (Line: 600)
_drupal_exception_handler()