Hello,

Problem/Motivation

I am on a Drupal 8.3.7 (On short terms no possibilities to upgrade to Drupal 8.4.x)
I have installed :
media_entity 8.x-1.7
media_entity_facebook 8.x-1.alpha2

I have created a new media bundle "facebook" with a link type field (field_url).

When I am trying to add a new media Facebook "/media/add/facebook", I have the following error :

Drupal\Component\Plugin\Exception\PluginNotFoundException : The "FacebookEmbedCode" plugin does not exist. dans Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (ligne 52 de /home/wwwroot/drupal/www/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php). 

This seems odd. I don't know why it's happening.

I tried to replicate the problem on a clean Drupal 8.3.7, but media_entity_facebook works fine.

Proposed resolution

N/A
I didn't find anything wrong.

Remaining tasks

Todo.

Comments

judapriest created an issue. See original summary.

judapriest’s picture

Issue summary: View changes

Updating Issue summary (Formating problem).

judapriest’s picture

Issue summary: View changes

Did some test with a clean Drupal 8.3.7.

judapriest’s picture

Priority: Major » Minor
Status: Active » Closed (cannot reproduce)

I did some other test today, but i couldn't replicate the bug. I'm closing it.

kovtunos’s picture

This error happens on Drupal 8.5.4. Here's the patch that fixes it.

kovtunos’s picture

Status: Closed (cannot reproduce) » Needs review
tuwebo’s picture

Hello,
I have same issue in 8.x-2.0-alpha1 version.

I confirm applying the patch in #5 fixed it.

Thanks @kovtunos.

judapriest’s picture

Version: 8.x-1.0-alpha2 » 8.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

Needs to be port in 1.x and 2.x

bkosborne’s picture

Indeed, thanks!

  • bkosborne committed e3cadd1 on 8.x-2.x authored by kovtunos
    Issue #2950139 by kovtunos, judapriest: Error "PluginNotFoundException"...
bkosborne’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.