acquia / lightning-project

A Composer-based installer for the Lightning distribution of Drupal 8. Support ended on November 2, 2021 and this project is no longer maintained.
133 stars 60 forks source link

The "scheduled_update" entity type does not exist. #125

Open drfuzetto opened 3 years ago

drfuzetto commented 3 years ago

I have already changed my profile from Lightning to Minimal but I am still seeing this error when I tried to delete fields from an entity, like paragraphs: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "scheduled_update" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 143 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

I don't see any references to scheduled_update in any of my configs so it must be in the database somewhere. I tried this drush cdel core.extension module.scheduled_update and get "Configuration key module.scheduled_update not found."

I am on Drupal 9.2

Please advise.

phenaproxima commented 3 years ago

I'm not sure Lightning has ever provided a "scheduled_update" entity type. It provides scheduled update functionality, but as far as I know, nothing about it provides an entity type to facilitate that.

However, once upon a time, we did use the Scheduled Updates contrib module for this, and it did provide a scheduled_update entity type. Are you using that module, somehow? I would imagine not, since it hasn't seen a release since 2018 and doesn't support Drupal 9.

Beyond that, it's hard for me to say what's going on. Maybe post the contents of your core.extension config here, and that'll provide some clues? A backtrace from the exception might also be useful.