- Issue created by @CatherineOmega
- π¨π¦Canada CatherineOmega
It's been pointed out to me that perhaps I should mention this is Drupal 10!
- πͺπΈSpain rteijeiro
Same issue here:
- Drupal 9.4.14
- Group 3.0.0-rc2Just install group module and can't access /admin/group page. Getting this error:
The website encountered an unexpected error. Please try again later. TypeError: Drupal\Core\Entity\Sql\DefaultTableMapping::requiresDedicatedTableStorage(): Argument #1 ($storage_definition) must be of type Drupal\Core\Field\FieldStorageDefinitionInterface, null given, called in /web/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php on line 331 in Drupal\Core\Entity\Sql\DefaultTableMapping->requiresDedicatedTableStorage() (line 521 of core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php).
It seems the module installation was not completed correctly for some reason. Trying to import the config from config/install using drush and getting a similar error like the one in the summary:
In ExceptionHandler.php line 53: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'group_config_wrapper' doesn't exist: SELECT "base_table"."id" AS "id", "base_table"."id" AS "base_table_id" FROM "group_config_wrapper" "base_table" LIMIT 1 OFFSET 0; Array ( ) In StatementWrapper.php line 145: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'group_config_wrapper' doesn't exist
- πͺπΈSpain rteijeiro
Changed the title and priority to make it more relevant as I really expended a lot of time trying to debug this issue and can't understand why the module is not installed properly.
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Wouldn't this be a core issue then? As far as I know, Group doesn't do anything special when it comes to installation so the declared tables should all be created.
- πͺπΈSpain rteijeiro
Yes, definitely is something not related to Group module itself. I reproduced the same environment using the same Drupal core and group module and dependencies versions and everything works fine. I'm sure it's something related to our project configuration. Will continue investigating but maybe someone had the same issue in the past.
Feel free to close the issue if you consider it necessary. Thansk!
- πΊπΈUnited States aaronlsilber Charleston, WV
I'm experiencing this right now on a Drupal 10.1.7 site. (Groups 3.2.2)
After some fiddling, I discovered that if I try to have Drupal install all of the module's dependencies it fails, but if I install the Flexible Permissions module first (which installs the Variation Cache module) it works. Installing the Entity module beforehand doesn't seem to make a difference. The logs don't tell me anything useful.
It's worth noting that trying to install Group on the same version of Drupal on Simplytest.me works just fine out of the box.