PluginManagerBase:
public function getInstance(array $options) {
return $this->mapper->getInstance($options);
}
Try drush ev '\Drupal::service("plugin.manager.action")->getInstance([])'
and you will get
PHP Fatal error: Call to a member function getInstance() on null in /home/chx/www/d8/core/lib/Drupal/Component/Plugin/PluginManagerBase.php on line 97
By no means this is just the action manager. There are only 7 plugin managers overriding this, all the others will get this.
As a quick placebo, implement a MapperInterface class which throws an exception and set that as the default mapper in PluginManagerBase. That still leads to a fatal but it's less mysterious and more catchable.
Fixed
8.7 β°οΈ
Last updated
Enhances developer experience.
Worse Than Failure. Approximates the unpleasant remark made by Drupal developers when they first encounter a particular (mis)feature.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.