Additional uncaught exception thrown while handling exception.

Original

Error: Class 'Twig_Extension_Core' not found in Twig_Environment->__construct() (line 117 of /home/udm/public_html/udm_ancien/vendor/twig/twig/lib/Twig/Environment.php).

Twig_Environment->__construct(Object, Array)
Drupal\Core\Template\TwigEnvironment->__construct('/home/udm/public_html/udm_ancien', Object, '51c4913c', Object, Array)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'twig')
Symfony\Component\DependencyInjection\ContainerBuilder->get('twig')
Drupal::service('twig')
twig_render_template('core/themes/classy/templates/layout/html.html.twig', Array)
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)

Additional

LogicException: A stray renderRoot() invocation is causing bubbling of attached assets to break. in Drupal\Core\Render\Renderer->renderRoot() (line 138 of /home/udm/public_html/udm_ancien/core/lib/Drupal/Core/Render/Renderer.php).

Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array)
install_display_output(Array, Array, Array)
_drupal_log_error(Array, 1)
_drupal_exception_handler(Object)