PluginNotFoundException: The "" plugin does not exist

Created on 5 April 2024, 9 months ago

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist. Valid plugin IDs for Drupal\printable\PrintableLinkExtractorPluginManager are: extract, none, remove, subscript in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core\lib\Drupal\Component\Plugin\Discovery\DiscoveryTrait.php).

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇦🇪United Arab Emirates ThirstySix

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ThirstySix
  • 🇬🇧United Kingdom aaron.ferris

    Hello @Thirstysix

    Can you please advise complete reproduction steps? I've just pulled this module down on a fresh 10.2.4 install and can't seem to see where this error is coming from.

    1. Drupal 10.2.4
    2. composer require 'drupal/printable:^3.1'
    3. Enable the printable module
    4. Configure to display print and pdf links on content
    5. Add a new node
    6. Go to said node
    7. Click the links provided by printable

  • Status changed to Postponed: needs info 6 months ago
  • 🇦🇺Australia nigelcunningham Geelong

    Also, did you run the upgrade script - I think I recall seeing the issue myself and implementing an upgrade hook to address that.

    Thanks!

  • 🇦🇪United Arab Emirates ThirstySix

    Yes Nigel,
    Thanks for the update.

  • Status changed to Closed: works as designed 6 months ago
  • 🇦🇪United Arab Emirates ThirstySix
  • Status changed to Needs work 5 months ago
  • 🇫🇷France skoubi

    Hi All, I just ran into the same error after upgrading the module from 2.1 version to 3.1.3. I'm running drupal 9.5.11 locally and after the upgrade of this module to the latest version, I'm getting now this error when I click on the link provided by the module on the content page. I think a patch to set the default plugin id will sort it out, but I still need to ask to see if it is even needed ?
    Nigel, I can't see which upgrade script are you talking about ?

  • 🇦🇺Australia nigelcunningham Geelong

    Hi @skoubi.

    There are a couple of update scripts added (printable_update_9000, 9001 and 9002 earlier in the year - the 9002 one is the one that's needed for this iirc.

    If not, let me know and I'll take a look - you shouldn't need to apply patches if I've got all the possibilities covered.

    Thanks!

  • Status changed to Closed: works as designed 5 months ago
  • 🇫🇷France skoubi

    Hi Nigel,

    I actually did run the updates and clear the cache and it's now working.
    Thanks for the updates !

  • 🇦🇺Australia nigelcunningham Geelong

    You're welcome :)

  • 🇮🇳India sourav_paul Kolkata

    @nigelcunningham facing same error after updating these modules drupal/printable (3.0.2 => 3.1.3), drupal/pdf_api (2.4.1 => 2.4.4), using drupal 10.3.10, I've already got updates by running drush updb & also cleared the cache...

  • 🇦🇺Australia nigelcunningham Geelong

    Ok, I'll recheck. Thanks for the report.

Production build 0.71.5 2024