Error saving pane

Created on 12 November 2020, about 4 years ago
Updated 24 November 2023, 12 months ago

Problem/Motivation

When creating my first pane at saving I get

An error has occurred unexpectedly. Try again later.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist. Valid plugin IDs for Drupal\media_library_extend\Plugin\MediaLibrarySourceManager are: lorem_picsum, configurable_lorem_picsum, youtube_channel in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->getDefinition(NULL) (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance(NULL, Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance(NULL, Array) (Line: 118)
Drupal\media_library_extend\Entity\MediaLibraryPane->getPlugin() (Line: 64)
Drupal\media_library_extend\MediaLibraryPaneListBuilder->buildRow(Object) (Line: 235)
Drupal\Core\Entity\EntityListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('media_library_pane')
call_user_func_array(Array, Array) (Line: 123)

Steps to reproduce

Create pane and ignore the required source plugin since it provides an empty list.

Proposed resolution

Error when required field is not used (and a little help how to get a source plugin)

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇳🇱Netherlands bond708 Groningen

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