Score:-2

"Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException"

cn flag

I get this exception, which does not say which plugin causes it.

Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException
The "" entity type does not exist. at /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php line 139

How can I debug this error?

cn flag
Not to sound glib, but…use a debugger?
id flag
https://www.drupal.org/project/drupal/issues/2980110 and there is the same reported on some contributed modules. We can’t answer this question absent more information except to say “use a debugger”.
4uk4 avatar
cn flag
Post the message you get when you enable all messages, with backtrace information (/admin/config/development/logging). Where and when do you get the error?
Score:0
cn flag

To solve the problem I add this code in the file Entity/EntityTypeManager.php before the line 139 and I get all the error information that I don't get with Watchdog

$e = new \Exception;
var_dump($e->getTraceAsString());
exit;
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.