Updating to 8.x-2.0-beta20 from 8.x-2.0-beta19 causes WSD

Created on 26 February 2025, about 2 months ago

Problem/Motivation

After updating from 8.x-2.0-beta20 from 8.x-2.0-beta19, an attempt to remove a field from a content type causes...

[26-Feb-2025 05:18:20 UTC] Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "You have requested a non-existent service "Drupal\entity_usage\PreSaveUrlRecorder"." at <site>\public_html\core\lib\Drupal\Component\DependencyInjection\Container.php line 159

No amount of cache clearing via a drush cr will fix this.

However, manually going into the database and performing a SQL command to TRUNCATE all cache_ tables does seem to fix the problem.

How is that?
I have seen this behaviour before many time, issuing multiple drush cr commands does not sort things but manually clearing out table does, surely a drush cr should be clearing out all cache_ tables or am I missing something here?

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024