Hello,
I am trying to update my website database but the system will not allow me. I've tried via SSH as well as by the user interface.
The error message I keep getting is:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "text_textarea_with_summary" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of /home/mywebsite/public_html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
All my modules are up to date including libraries 8.x-3.x-dev. However, I was not able to update the database after updating libraries. I don't know if this is anything to do with the libraries module but I just thought I would mention it.
Without being able to update the database, I can't proceed with keeping their website updated and secure.
Any help would be gratefully appreciated.
Thank you.
m
Comments
Comment #4
nagarajan kumar commentedI am also getting same issue when updating 8.2.8 to 8.3.1. Any one have solution for this issue. Please suggest to resolve this issue.
Comment #5
davemybes commentedJust ran into this after updating 8.2.3 to 8.3.2. It will not complete the updates due to this error.
Comment #6
davemybes commentedI got around it by commenting out a line as you can see below. I have no idea if this has any impact on anything. Everything looks OK on the site still.
I removed the comment afterwards and no more updates were seen. The site still seems fine.
Comment #7
tim.plunketttext_textarea_with_summary is provided by the Text module, which is required by Node module, not sure why that would be missing.
That update function exists to loop through all entity displays, and resave them (to add in new default values).
If you have leftover entity displays for old view modes, bundles, or entity types, that could cause this exception.
I would put
debug($entity->id());in there to help you find out which one is the problem. It would be in the formnode.article.teaserComment #8
nathan tsai commentedAnything new? Just got this error after following this tutorial, skipping the teaser view.
Comment #10
volegerComment #13
dimang commentedLike in the initial post, I'm trying to upgrade my site and I get exactly the same error. I have Drupal 8.5.9 and I'm trying to upgrade to 8.6.9. However, the same has been happening ever since 8.6.* was released, i.e. the result was the same trying to upgrade from 8.5.* to any 8.6.* version. Next, I list the plugin definitions I get, when debugging just before the exception is thrown in the DiscoveryTrait.php file (i.e. at line 51):
Expanding the text relevant ones, I see:
It is true that there is no plugin with id text_textarea_with_summary or textarea_with_summary in there. Does anyone have any clue about this?
Comment #14
dimang commentedHello to all,
I 've been trying for the past few months to upgrade a site from 8.5.9 (and later from 8.5.10... until 8.5.14) to whichever version 8.6.* and today to 8.7.2, without success. In particular, the db update part (either through drush or through the web interface) displays as pending updates the following:
The drush updb then returns:
After that, trying to run the db update again, displays exactly the same pending items. Nvertheless, the site looks functional after that, but with the pending updates always there. Can anyone help with that?
In addition, a major problem is the fact, that because of the first update not being able to be applied, the others do not get to be performed as well. So, basically, the updates depend on their alphabetical order?
Comment #15
dimang commentedI finally managed to find a solution. Based on the backtrace of the error and after debugging the code, I found the problematic content type. In particular, I examined the $entity->id() referenced in the update function of the file: core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php (line 112):
The entity was the node.faq.default, i.e., the default display of the faq content type (one of the content types I have defined). In that content type, the only field of type text with summary is the standard Body field, which however I had disabled from the default display. When I tried, I couldn't change its format in the default display. So, I reenabled it. That was it. After that, the updates were applied like a charm! No pending updates any more.
Comment #20
larowlanIt sounds like you're missing the text module