Uninstalling footnotes gives fatal error

Created on 6 September 2020, over 4 years ago
Updated 5 January 2024, over 1 year ago

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)
πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Footnotes

Created by

πŸ‡³πŸ‡±Netherlands Yuri

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.

  • πŸ‡¬πŸ‡§United Kingdom scott_euser

    Is this still an issue?

  • πŸ‡¦πŸ‡·Argentina luisrdm

    Hi 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

  • Status changed to Active 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Yes, 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.

Production build 0.71.5 2024