Error: Class 'Symfony\Component\CssSelector\CssSelectorConverter' not found

Created on 27 April 2020, over 4 years ago
Updated 10 January 2024, 11 months ago

Error: Class 'Symfony\Component\CssSelector\CssSelectorConverter' not found in Drupal\table_of_contents\Plugin\Block\TextLongFieldTocBlock->findTocItems() (line 224 of /home/.../modules/table_of_contents/src/Plugin/Block/TextLongFieldTocBlock.php)
#0 /home/.../modules/table_of_contents/src/Plugin/Block/TextLongFieldTocBlock.php(131): Drupal\table_of_contents\Plugin\Block\TextLongFieldTocBlock->findTocItems(Object(Drupal\field\Entity\FieldConfig), Object(Drupal\node\Entity\Node))
#1 /home/.../core/modules/block/src/BlockViewBuilder.php(171): Drupal\table_of_contents\Plugin\Block\TextLongFieldTocBlock->build()
#2 [internal function]: Drupal\block\BlockViewBuilder::preRender(Array)
#3 /home/.../core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(100): call_user_func_array(Array, Array)
#4 /home/.../core/lib/Drupal/Core/Render/Renderer.php(781): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'silenced_deprec...', 'Drupal\\Core\\Ren...')
#5 /home/.../core/lib/Drupal/Core/Render/Renderer.php(372): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#6 /home/.../core/lib/Drupal/Core/Render/Renderer.php(444): Drupal\Core\Render\Renderer->doRender(Array)
#7 /home/.../core/lib/Drupal/Core/Render/Renderer.php(200): Drupal\Core\Render\Renderer->doRender(Array, false)
#8 /home/.../core/lib/Drupal/Core/Template/TwigExtension.php(501): Drupal\Core\Render\Renderer->render(Array)
#9 /home/.../sites/default/files/php/twig/5ea6b7ee59679_page.html.twig_12QutniS9QLXXOKpVraqlqlih/Uss6MfQ-p_HX-YZDL0WKYIY_6c5t0s3IqjfdmKFmqFQ.php(125): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#10 /home/.../vendor/twig/twig/src/Template.php(455): __TwigTemplate_b41cf9aae1a7a53d74ce362e0d72ed87bf0791f82e0838abae2df26a92c0ab13->doDisplay(Array, Array)
#11 /home/.../vendor/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(Array, Array)
#12 /home/.../vendor/twig/twig/src/Template.php(434): Twig\Template->display(Array)
#13 /home/.../core/themes/engines/twig/twig.engine(64): Twig\Template->render(Array)
#14 /home/.../core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('core/themes/bar...', Array)
#15 /home/.../core/lib/Drupal/Core/Render/Renderer.php(431): Drupal\Core\Theme\ThemeManager->render('page', Array)
#16 /home/.../core/lib/Drupal/Core/Render/Renderer.php(200): Drupal\Core\Render\Renderer->doRender(Array, false)
#17 /home/.../core/lib/Drupal/Core/Template/TwigExtension.php(501): Drupal\Core\Render\Renderer->render(Array)
#18 /home/.../sites/default/files/php/twig/5ea6b7ee59679_html.html.twig_e2GV_-HyqpOPFQ8T8wWrj2Vvb/DZrf3sIeNUAAj1V7o7rAYtcxBySvWeeI1MEkgN8r-EA.php(102): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#19 /home/.../vendor/twig/twig/src/Template.php(455): __TwigTemplate_41bd370b7d861960ca444280e3fca2558e63d6c52c0b53058e2e7c332a9d33bc->doDisplay(Array, Array)
#20 /home/.../vendor/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(Array, Array)
#21 /home/.../vendor/twig/twig/src/Template.php(434): Twig\Template->display(Array)
#22 /home/.../core/themes/engines/twig/twig.engine(64): Twig\Template->render(Array)
#23 /home/.../core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('core/themes/cla...', Array)
#24 /home/.../core/lib/Drupal/Core/Render/Renderer.php(431): Drupal\Core\Theme\ThemeManager->render('html', Array)
#25 /home/.../core/lib/Drupal/Core/Render/Renderer.php(200): Drupal\Core\Render\Renderer->doRender(Array, false)
#26 /home/.../core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(147): Drupal\Core\Render\Renderer->render(Array)
#27 /home/.../core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#28 /home/.../core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(148): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#29 /home/.../core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#30 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#31 /home/.../core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#32 /home/.../vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent))
#33 /home/.../vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#34 /home/.../core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/.../core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/.../core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /home/.../core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /home/.../core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /home/.../core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /home/.../core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /home/.../vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 /home/.../core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /home/.../index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#44 {main}

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇵🇭Philippines Jhun Vert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024