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.
thank you for the module. I have installed and configured it (and added a couple of one-way relationship types), but when attempting to create a relationship with a user I get the following error. Thank you for any ideas/suggestions.
user warning: Unknown column 'flags' in 'field list' query: INSERT INTO user_relationships (rid, requester_id, requestee_id, rtid, approved, created_at, updated_at, flags) VALUES (1, 1, 2, 1, 1, 1201167739, 1201167739, 0) in /home/.../public_html/includes/database.mysql.inc on line 172.
Comments
Comment #1
prfctns6@gmail.com CreditAttribution: prfctns6@gmail.com commentedThe flags column was recently added in update 6 of the User Relationships core module. Go the status page of your admin console (admin/logs/status) and be sure your DB is up to date.
Please note: if you're DB isn't already at update 5, you need to apply the updates sequentially. Telling it to go directly to 6 does not automatically apply all updates between where you're at and 6 - it only applies update 6.
Comment #2
sprsquish CreditAttribution: sprsquish commentedI think this was my fault.
I didn't put the flags field in the initial install SQL. Drupal, you make my job harder than it should be.
Comment #3
sterwa CreditAttribution: sterwa commentedThanks for submitting the fix. No problem now.