- Issue created by @martin@manarock.co.uk
- πΊπΈUnited States tr Cascadia
Rules extends the core context classes such as ContextDefinitionInterface. I suspect that in your cache or service container or class registry, there is still an object that uses the Rules version of one of the context classes. When Rules is removed, any remaining reference to the Rules version of these classes will trigger a
__PHP_Incomplete_Class
error.I don't know where or why this reference still exists - Drupal core should be flushing the caches and rebuilding the container when modules are uninstalled, but perhaps the core process is incomplete and it doesn't clear everything.
I would certainly try
drush cc
anddrush cr
, and alsodrush php-eval "\Drupal::service('kernel')->rebuildContainer();"
to see if you can force Drupal to forget about the Rules classes. - Status changed to Postponed: needs info
over 1 year ago 10:46pm 15 April 2023 - Status changed to Closed: works as designed
over 1 year ago 6:36pm 13 May 2023