Problem/Motivation

The exception is pretty short:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "Drupal\media_entity_link\Hook\MediaEntityLinkHooks". Did you mean this: "Drupal\media_entity_links\Hook\MediaEntityLinkHooks"? in Drupal\Component\DependencyInjection\Container->get() (line 159 of /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

The problem is the file media_entity_link.services.yml which uses the wrong namespace with a trailing "s", but that doesn't exist.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jurgenhaas created an issue. See original summary.

jurgenhaas’s picture

Status: Active » Needs review
bluegeek9’s picture

Status: Needs review » Reviewed & tested by the community

I had the same problem and independently made the same change.

the_g_bomb’s picture

Looks good to me too.

d.fisher’s picture

Thank you all. Will get this merged.

  • jurgenhaas committed 07d0b15c on 2.0.x
    #3590363 Version 2.0.6 breaks sites due to misconfigured service file
d.fisher’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in dev. Tagged and released in 2.0.7.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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