Additional uncaught exception thrown while handling exception.

Original

ArgumentCountError: Too few arguments to function _drupal_error_handler(), 4 passed in /home3/nima1414/public_html/mjamili.com/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php on line 94 and exactly 5 expected in Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process() (line 94 of /home3/nima1414/public_html/mjamili.com/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php).

Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process(Object) (Line: 107)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object) (Line: 593)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1261)
Drupal\Core\DrupalKernel->compileContainer() (Line: 873)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 18)
Drupal\Core\Installer\InstallerKernel->initializeContainer() (Line: 462)
Drupal\Core\DrupalKernel->boot() (Line: 412)
install_begin_request(Object, Array) (Line: 112)
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 819 of /home3/nima1414/public_html/mjamili.com/vendor/symfony/dependency-injection/ContainerBuilder.php).

Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('theme.manager') (Line: 463)
Symfony\Component\DependencyInjection\ContainerBuilder->get('theme.manager') (Line: 648)
Drupal::theme() (Line: 22)
_drupal_maintenance_theme() (Line: 706)
drupal_maintenance_theme() (Line: 965)
install_display_output(Array, Array, Array) (Line: 264)
_drupal_log_error(Array, 1) (Line: 566)
_drupal_exception_handler(Object)