Additional uncaught exception thrown while handling exception.

Original

Error: Call to undefined function token_get_all() in Doctrine\Common\Annotations\TokenParser->__construct() (line 54 of /root/ftp/drupal-10.0.5/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/TokenParser.php).

Doctrine\Common\Annotations\TokenParser->__construct('<?php

namespace Drupal\Core\Datetime\Element;

use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Render\Element\FormElement;

/**
 * Provides a base class for date elements.
 */
abstract class DateElementBase ') (Line: 178)
Drupal\Component\Annotation\Doctrine\StaticReflectionParser->parse() (Line: 318)
Drupal\Component\Annotation\Doctrine\StaticReflectionParser->getDocComment() (Line: 62)
Drupal\Component\Annotation\Doctrine\StaticReflectionClass->getDocComment() (Line: 101)
Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotations(Object) (Line: 125)
Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotation(Object, 'Drupal\Core\Render\Annotation\RenderElement') (Line: 145)
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery->getDefinitions() (Line: 86)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 291)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 181)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 110)
Drupal\Core\Render\ElementInfoManager->buildInfo('claro') (Line: 77)
Drupal\Core\Render\ElementInfoManager->getInfo('form') (Line: 814)
Drupal\Core\Form\FormBuilder->prepareForm('install_select_language_form', Array, Object) (Line: 282)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SelectLanguageForm', Object) (Line: 950)
install_get_form('Drupal\Core\Installer\Form\SelectLanguageForm', Array) (Line: 1377)
install_select_language(Array) (Line: 698)
install_run_task(Array, Array) (Line: 569)
install_run_tasks(Array, NULL) (Line: 119)
install_drupal(Object) (Line: 48)

Additional

Error: Call to undefined function token_get_all() in Doctrine\Common\Annotations\TokenParser->__construct() (line 54 of /root/ftp/drupal-10.0.5/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/TokenParser.php).

Doctrine\Common\Annotations\TokenParser->__construct('<?php

namespace Drupal\Core\Datetime\Element;

use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Render\Element\FormElement;

/**
 * Provides a base class for date elements.
 */
abstract class DateElementBase ') (Line: 178)
Drupal\Component\Annotation\Doctrine\StaticReflectionParser->parse() (Line: 318)
Drupal\Component\Annotation\Doctrine\StaticReflectionParser->getDocComment() (Line: 62)
Drupal\Component\Annotation\Doctrine\StaticReflectionClass->getDocComment() (Line: 101)
Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotations(Object) (Line: 125)
Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotation(Object, 'Drupal\Core\Render\Annotation\RenderElement') (Line: 145)
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery->getDefinitions() (Line: 86)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 291)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 181)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 110)
Drupal\Core\Render\ElementInfoManager->buildInfo('claro') (Line: 77)
Drupal\Core\Render\ElementInfoManager->getInfo('html') (Line: 312)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 147)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 1056)
install_display_output(Array, Array) (Line: 271)
_drupal_log_error(Array, 1) (Line: 176)
_drupal_exception_handler(Object)