Unable to uninstall

Created on 2 June 2021, over 3 years ago
Updated 10 March 2023, almost 2 years 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 review

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

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 over 1 year 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 over 1 year 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 Barcelona

    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.

  • πŸ‡ͺπŸ‡ΈSpain tuwebo

    Not sure about the implications of this workaround (it might break your site, take it with a grain of salt) , but it seems it is working for me if I run it before uninstalling:
    drush cset --input-format=yalm views.settings display_extenders default

    You might want to check the views.settings configuration before running it, executing:
    drush cget views.settings

Production build 0.71.5 2024