Using Drupal 9.0.5
When uninstalling footnotes, the site cannot be accessed any more, ony showing:
The website encountered an unexpected error. Please try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "filter_footnotes" plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: blazy_filter, editor_file_reference, filter_htmlcorrector, filter_align, filter_html_image_secure, filter_autop, filter_caption, filter_html, filter_html_escape, filter_null, filter_url, linkit, media_embed, url_embed_convert_links, url_embed in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->getDefinition('filter_footnotes') (Line: 70)
Drupal\filter\FilterPluginCollection->initializePlugin('filter_footnotes') (Line: 80)
Drupal\Component\Plugin\LazyPluginCollection->get('filter_footnotes') (Line: 26)
Drupal\filter\FilterPluginCollection->get('filter_footnotes') (Line: 92)
Drupal\filter\FilterPluginCollection->sortHelper('filter_htmlcorrector', 'filter_footnotes')
uasort(Array, Array) (Line: 90)
Comments
Comment #2
scott_euser commentedIs this still an issue?
Comment #3
luisrdm commentedHi there, I'm encountering this error when I try to acces /admin/modules/uninstall
The website encountered an unexpected error. Try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "filter_footnotes" plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: editor_file_reference, filter_align, filter_autop, filter_caption, filter_html, filter_htmlcorrector, filter_html_escape, filter_html_image_secure, filter_image_lazy_load, filter_null, filter_url, media_embed, php_code in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
This is a Drupal 10.3.1
Apache/2.4.56
PHP 8.2.5
10.7.3-MariaDB-1:10.7.3+maria~bullseye-log
Comment #4
damienmckennaYes, this is still a problem in the 4.0.x branch.
When the module is uninstalled it needs to loop through all of the defined filters and remove mentions of the "filter_footnotes" plugin.
Comment #7
scott_euser commentedThanks, also removing the config/optional footnote text format used in the modal window