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.
I installed a fresh installation of drupal 7.22 with clean db's and started importing new modules since this might have been an db error i thought. But as soon as i import the latest relationship module and activate the invite module i get this error on registration page. Is there an easy fix or is this a new issue which need investigation ? this all happens on line 106
Comment | File | Size | Author |
---|---|---|---|
#1 | user_relationships-undefined-constant-INVITE_SESSION-1965660-1.patch | 1.39 KB | Andre-B |
Comments
Comment #1
Andre-Binvite module is using constant
INVITE_SESSION_CODE
instead ofINVITE_SESSION
Comment #2
Andre-BComment #3
BerdirLooks like the constant was renamed in 4.x. Maybe this should be fixed as part of the 4.x integration issue?
Comment #4
Andre-BBerdir you are right this belongs to Invite 4.x
Comment #5
BerdirOk, closing as a duplicate of #2041769: Upgrade user_relationship_invites to work with Invite 4.x branch then.
Comment #5.0
Berdirthis all happens on line 106
Comment #6
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis is not a duplicate of the other issue.
The constant is defined in the invite module.
The patch fixes the problem
Comment #7
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis is not a duplicate of the other issue.
The constant is defined in the invite module.
The patch fixes the problem
Comment #8
heylookalive CreditAttribution: heylookalive commented@socialnicheguru From what I understand on this issue the sub module in user_relationships is for 3.x, the linked issue that was marked as duplicate is one to update the sub module to 4.x.
Looking at #2041769: Upgrade user_relationship_invites to work with Invite 4.x branch we're not updating the module and a separate project was created for this by @mrded:
https://www.drupal.org/project/invite_user_relationships
Comment #9
heylookalive CreditAttribution: heylookalive commentedComment #10
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedshould I delete the submodule?
maybe there should be a patch to delete the module and a link to https://www.drupal.org/project/invite_user_relationships
Comment #11
heylookalive CreditAttribution: heylookalive commentedNah leave as is, the module is still valid for 3.x. I'll update the submodules .info to include that.
Comment #13
heylookalive CreditAttribution: heylookalive commented