Improve exception handling in case of NULL from getPluginClass

Created on 24 January 2013, over 11 years ago
Updated 18 July 2024, about 2 months ago

See #1897364: How the bleepity bleep do you debug plugin-related errors? :) β†’ .

xjm asked me to file this because:


Drupal\Component\Plugin\Exception\PluginException: The plugin (ckeditor) did not specify an instance class. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 62 of /Users/webchick/Sites/spark/spork/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).

should apparently have been something more like:

Hey, dummy. That plugin_id returned NULL.
πŸ“Œ Task
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
PluginΒ  β†’

Last updated about 15 hours ago

Created by

πŸ‡¨πŸ‡¦Canada webchick Vancouver πŸ‡¨πŸ‡¦

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.

Production build 0.71.5 2024