- Issue created by @amal.bukhari
- π²πΎMalaysia amal.bukhari
This is the message backtrace from log if I open an existing views that uses 'table with aggregation' display format.
Error log message:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "views_aggregator_plugin_style_table" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: chart, entity_reference_revisions, serializer, data_export, default_summary, unformatted_summary, grid_responsive, rss, grid, entity_reference, default, table, html_list, opml in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /var/www/html/<site_name>/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Backtrace:
#0 /var/www/html/crr.terus.my/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(25): Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, 'views_aggregato...', true) #1 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('views_aggregato...') #2 /var/www/html/crr.terus.my/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('views_aggregato...', Array) #3 /var/www/html/crr.terus.my/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(821): Drupal\Component\Plugin\PluginManagerBase->createInstance('views_aggregato...') #4 /var/www/html/crr.terus.my/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(795): Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('style') #5 /var/www/html/crr.terus.my/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2480): Drupal\views\Plugin\views\display\DisplayPluginBase->usesFields() #6 /var/www/html/crr.terus.my/web/core/modules/views/src/ViewExecutable.php(2116): Drupal\views\Plugin\views\display\DisplayPluginBase->validate() #7 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(128): Drupal\views\ViewExecutable->validate() #8 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(49): Drupal\views_ui\ViewFormBase->getDisplayTabs(Object(Drupal\views_ui\ViewUI)) #9 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Entity/EntityForm.php(126): Drupal\views_ui\ViewFormBase->prepareEntity() #10 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(26): Drupal\Core\Entity\EntityForm->init(Object(Drupal\Core\Form\FormState)) #11 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Entity/EntityForm.php(97): Drupal\views_ui\ViewFormBase->init(Object(Drupal\Core\Form\FormState)) #12 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #13 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState)) #14 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array) #15 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Form/FormBuilder.php(283): Drupal\Core\Form\FormBuilder->retrieveForm('view_edit_form', Object(Drupal\Core\Form\FormState)) #16 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views_ui\ViewEditForm), Object(Drupal\Core\Form\FormState)) #17 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/Controller/ViewsUIController.php(230): Drupal\Core\Entity\EntityFormBuilder->getForm(Object(Drupal\views_ui\ViewUI), 'edit', Array) #18 [internal function]: Drupal\views_ui\Controller\ViewsUIController->edit(Object(Drupal\views_ui\ViewUI), NULL) #19 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #20 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #21 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #22 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #23 /var/www/html/crr.terus.my/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #24 /var/www/html/crr.terus.my/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #25 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /var/www/html/crr.terus.my/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /var/www/html/crr.terus.my/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #30 /var/www/html/crr.terus.my/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #31 /var/www/html/crr.terus.my/web/modules/contrib/advban/src/AdvbanMiddleware.php(57): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #32 /var/www/html/crr.terus.my/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\advban\AdvbanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #33 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #34 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #35 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #36 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #37 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #38 /var/www/html/crr.terus.my/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #39 {main}
- πΊπΈUnited States tr Cascadia
Almost certainly because of this:
Convert ViewsStyle plugin discovery to attributes βI don't currently know how to make that change in a backwards-compatible way for this module, other than to make the changes in a new minor-point branch. So the current 2.0.x branch would support core 10.2 and previous, while we would need a 2.1.x branch for core 10.3 and above.
This core change, along with similar changes to all the other core plugins, is going to cause a lot of problems. Bottom line, core Drupal made some major changes in the 10.3 branch (which just entered beta), but this module hasn't had time yet to make all the necessary changes for 10.3.
- Status changed to Closed: outdated
5 months ago 8:48am 5 October 2024 - πΊπΈUnited States tr Cascadia
I don't think this is a problem anymore.
The ViewsStyle plugin for this module has been converted to attributes.
Core ViewsStyle plugin manager is backwards-compatible with annotations, so it should still discover annotated plugins in D10.I don't see this error anywhere in any of the tests or in any of my manual testing on a live site.
If you continue to experience this problem and can provide some detailed instructions for reproducing it on a clean site, then feel free to re-open this issue.