- π©πͺGermany johnnny83
Similar for me, after a server upgrade the core/modules/views/src/Plugin/views/cache was missing, so I just rebuilt core
Hi,
trying to get an old website up to speed that is still drupal 9 and I wanted to first update to the latest 9.x release (9.5.11).However I get the tag-plugin-not-found error:
Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "tag" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: " at /var/www/virtual/viesca/test.viesca.de/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53"
I already checked the Plugins/views/cache folder which seems to be fine:
$ ls -la core/modules/views/src/Plugin/views/cache/ total 32 drwxrwxr-x. 2 viesca viesca 80 Sep 19 2023 . drwxrwxr-x. 21 viesca viesca 4096 Sep 19 2023 .. -rw-rw-r--. 1 viesca viesca 11090 Jul 17 03:00 CachePluginBase.php -rw-rw-r--. 1 viesca viesca 764 Jul 17 03:00 None.php -rw-rw-r--. 1 viesca viesca 765 Jul 17 03:00 Tag.php -rw-rw-r--. 1 viesca viesca 6461 Jul 17 03:00 Time.php
Any other thing i could check?
Ok i got the website running again by running
composer require drush/drush:11.6.0
(other versions seemed to be broken)
drush eval "\$module_data = \Drupal::config('core.extension')->get('module'); unset(\$module_data['views']); \Drupal::configFactory()->getEditable('core.extension')->set('module', \$module_data)->save();"
got it from here: https://www.drupal.org/node/157632 β manual module disable using drush
drush pm:install views
(reinizializing views)I hope nothing got lost, but want to rebuild the website from scratch anyway, this was just to extract some information without having the hassle to parse the database directly.