Additional uncaught exception thrown while handling exception.

Original

ArgumentCountError: Too few arguments to function _drupal_error_handler(), 4 passed in /home/vansh10/public_html/social/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php on line 133 and exactly 5 expected in Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass() (line 133 of /home/vansh10/public_html/social/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php).

Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass(Array, 'cache_tags.invalidator', Object) (Line: 97)
Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process(Object) (Line: 141)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object) (Line: 778)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1318)
Drupal\Core\DrupalKernel->compileContainer() (Line: 892)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 18)
Drupal\Core\Installer\InstallerKernel->initializeContainer() (Line: 468)
Drupal\Core\DrupalKernel->boot() (Line: 442)
install_begin_request(Object, Array) (Line: 122)
install_drupal(Object) (Line: 44)

Additional

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

Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('theme.manager') (Line: 610)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet('theme.manager', 1) (Line: 588)
Symfony\Component\DependencyInjection\ContainerBuilder->get('theme.manager') (Line: 684)
Drupal::theme() (Line: 21)
_drupal_maintenance_theme() (Line: 742)
drupal_maintenance_theme() (Line: 1034)
install_display_output(Array, Array, Array) (Line: 260)
_drupal_log_error(Array, 1) (Line: 602)
_drupal_exception_handler(Object)