Problem/Motivation

After update from 1.16 to 1.17, broke the site
Debuging the message in log server, appear a message:
Got error 'PHP message: Uncaught PHP Exception Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException: "You have requested a non-existent service "Drupal\\token\\Hook\\TokenHooks".

Steps to reproduce

Drupal 10.5.7
Token 1.16

Proposed resolution

Revert the update to 1.16

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork token-3566706

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

drw created an issue. See original summary.

drw’s picture

Issue summary: View changes
berdir’s picture

Make sure you run updates and clear caches.

berdir’s picture

Status: Active » Postponed (maintainer needs more info)

bagatto46 made their first commit to this issue’s fork.

brulain’s picture

Almost the same here:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException : You have requested a non-existent service "Drupal\webform_node\Hook\WebformNodeHooks". dans Drupal\Component\DependencyInjection\Container->get() (ligne 159 de /srv/dev.espace-sciences.org/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

Updates ran and caches cleared.
D10.6.2

berdir’s picture

Your error is from webform_node, and not this project.

brulain’s picture

Sorry pour this.
Best.

ippy’s picture

+1 for cache clearing as per berdir's comment 4.
Same Token version. Drupal core 10.6.5