Unable to uninstall

Created on 2 June 2021, about 3 years ago
Updated 16 January 2024, 6 months ago

Problem/Motivation

Wanted to uninstall this plugin, but as I enabled it in views, there is error message :

The website encountered an unexpected error. Please try again later.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "views_ajax_get" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: default in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Unable to restore and enable it back, need to rollback whole site.

Is it possible to create any patch which prevent such case?

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

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 States Arlina

    The core referenced issue does not have a working patch (that I could find at least). Until it gets fixed, maybe this module can remove the display extender on the uninstall hook - that's how metatag_views is doing it as well.
    Here's a patch that works against 2.0.0.

  • Status changed to RTBC 9 months ago
  • πŸ‡¨πŸ‡΄Colombia fabiansierra5191

    I had to uninstall this module and I got the same issue.
    I tried patch #4 πŸ› Unable to uninstall RTBC and works for me.

    Moved to RTBC.

  • πŸ‡ΊπŸ‡ΈUnited States Greg Boggs Portland Oregon

    I was able to uninstall the module with this patch, but only partially, my views still generate the config from the module. Is there an upgrade path to 10.1? Can we mark this unsupported by 10.1? It's currently marked as supported and working 10.1 in composer.

  • Status changed to Needs work 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States Greg Boggs Portland Oregon
  • πŸ‡¬πŸ‡§United Kingdom catch

    You might be able to manually resave your views to clean up the config.

  • πŸ‡ͺπŸ‡ΈSpain rcodina

    Editing views and saving them doesn't work for me. I just have had to manually editing view's yml files to remove this module's configuration.

  • πŸ‡ΊπŸ‡ΈUnited States Greg Boggs Portland Oregon

    That was also what I had to do.

Production build 0.69.0 2024