Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Under admin/settings/globalredirect is an option "Menu access checking."
When this is enabled, global redirect checks if the user has access to the path and will run _menu_check_access, which eventually runs the wildcard loader functions for the particular item.
However, certain contrib modules such as http://drupal.org/project/og_forum have wildcard loaders which assume certain data exist in $user, e.g. $user->og_groups.
If the weight of Global Redirect too low, these data won't be populated before globalredirect_init() runs, and the wildcard loaders will fail.
Comment | File | Size | Author |
---|---|---|---|
#1 | globalredirect-720416.patch | 1.25 KB | c4rl |
Comments
Comment #1
c4rl CreditAttribution: c4rl commentedThe attached patch sets the weight to 9999 such that globalredirect_init() will occur very late.