i have created a field of type iframe
then changed the widget
then try and create a new field for that content type and
crash:
Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "field_item:iframe" plugin does not exist." at /var/aegir/platforms/drupal8-dev/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 52"
request: "GET /admin/structure/types/manage/article/fields/node.article.field_type_video/storage?destinations[0][route_name]=entity.field_config.node_field_edit_form&destinations[0][route_parameters][field_config]=node.article.field_type_video&destinations[0][route_parameters][node_type]=article&destinations[1][route_name]=entity.node.field_ui_fields&destinations[1][route_parameters][field_config]=node.article.field_type_video&destinations[1][route_parameters][node_type]=article&destinations[2]=/admin/structure/types/manage/article/fields/add-field
that leads to many error in core/field because the class is null:
PHP Fatal error: Class name must be a valid object or a string in /var/aegir/platforms/drupal8-dev/core/lib/Drupal/Core/Field/FieldConfigStorageBase.php on line 26
PHP Fatal error: Class name must be a valid object or a string in /var/aegir/platforms/drupal8-dev/core/modules/field/src/FieldStorageConfigStorage.php on line 155
Comments
Comment #2
neffets CreditAttribution: neffets commentedpossibly related with #2820785.
Please add comment, What did you made before the error?? Did you try to uninstall the module, or did you simply put the iframe folder into Your installation, or ...
Comment #3
neffets CreditAttribution: neffets commentedComment #4
matoeil CreditAttribution: matoeil commentedhi neffets
i don't think i did something weird before that error but when clearing cache the discovery class parse all plugin definitition and the iframe plugin definition was null
i have tried to make a custom iframe module and i have had the same problem
http://drupal.stackexchange.com/questions/218803/pluginnotfoundexception...
i wonder if that error is not related to the plugin manager ?
https://www.drupal.org/node/1637730
Comment #5
neffets CreditAttribution: neffets commentedFixed with installing the "iframe" module and then uninstall again.