PluginException thrown after updating to 8.x-3.6

Created on 27 November 2024, about 2 months ago

The following exception occurs after updating from 8.x-3.4 to 8.x-3.6:

_Drupal\Component\Plugin\Exception\PluginException_: Plugin (field_group_accordion) instance class "Drupal\field_group\Element\Accordion" does not exist. in _Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass()_ (line _97_ of _/var/www/site/web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php_).

This is occurring for all admin paths in my case.

The cause is some plugin implementations recently had their extending class reverted back, from RenderElementBase to RenderElement in commit df299404

Clearing the cache with drush cache:rebuild fixes the issue however adding an empty hook_update to flush the plugin cache would be more ideal.

🐛 Bug report
Status

Active

Version

3.6

Component

Code

Created by

🇦🇺Australia jnlar Sydney, Australia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024