Score:-3

Upgrade fails with InvalidArgumentException

me flag

After upgrading from Drupal 8.9 to Drupal 9.3, I get this fatal error when I run the database updates. The remaining updates aren't executed. It looks like the Multiversion Uninstall command needs to be run, but it's not installed.

system module - Update entity_revision_metadata_bc_cleanup

Failed: InvalidArgumentException: Drupal\multiversion\Entity\Storage\Sql\ContentEntityStorage does not implement Drupal\Core\Entity\ContentEntityStorageInterface in Drupal\Core\Entity\ContentEntityType->checkStorageClass() (line 52 of public/core/lib/Drupal/Core/Entity/ContentEntityType.php).

id flag
Is the multiversion module actually compatible with Drupal 9? It seems not.
ponies avatar
me flag
Multiversion is not compatible with Drupal 9.
Score:1
me flag

Removing all rows Drupal 9.3's key_value table containing 'multiversion' allowed the database update to complete successfully.

select * from key_value where value like '%multiversion%';

delete from key_value where value like '%multiversion%';
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.