Plugin exception after upgrading from 8.x-2 to 3

Created on 29 September 2021, about 3 years ago
Updated 6 December 2023, 12 months ago

Problem/Motivation

If upgrading to version 3,
Plugin (admin_toolbar_tools.extra_links:node.add.alerte) instance class "Drupal\admin_toolbar_tools\Plugin\Menu\MenuLinkEntity" does not exist. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 97 of /data-platforms/platforms/drupal9-maj/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇫🇷France matoeil

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.

  • 🇩🇪Germany thomaswalther Rhein-Main Area

    # 2 works for me.

    I moved modul version with 2.x to directory contrib (mv modules/admin_toolbar modules/contrib), clear cache, update db, composer require 'drupal/admin_toolbar:^3.4', update db, clear cache.

    I also removed cached files:
    rm -rf sites/default/files/php
    rm -rf sites/default/files/js
    rm -rf sites/default/files/css

Production build 0.71.5 2024