Needs review
Project:
Group
Version:
3.3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2026 at 09:56 UTC
Updated:
30 Sep 2026 at 12:35 UTC
Jump to comment: Most recent
When on 3.3.5 (fresh install, no prior versions), if we do composer require 'drupal/group:3.3.x-dev@dev' or composer require 'drupal/group:^4.0@alpha' and after we run updb drush updb, the following error is returned by drush:
[error] The installed version of the /Group/ module is too old to update. Update to a
version prior to 2.0.0 first (missing updates:
group_post_update_group_type_group_content_type_dependencies,
group_post_update_group_content_type_dependencies,
group_post_update_grant_access_overview_permission,
group_post_update_view_cache_contexts,
group_post_update_make_group_revisionable).
It looks like the group.post_update.php file is empty in any 3.x version; however, in 2.x / 3.3.x-dev and 4.0.x branches, the file contains
function group_removed_post_updates(): array {...}
and that causes the error when doing 3.3.5 -> 3.3.x-dev/4.0@alpha
fresh install of 3.3.5
then composer update to either dev-3.3.x or 4.0
after, run drush updb
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
gorkagr commentedmy bad, wrong comment
Comment #5
hai nguyen commentedCreated a merge request for this fix: https://git.drupalcode.org/project/group/-/merge_requests/337