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.
for some reason, in my installation the following line doesn't return a value even though the current logged-in user has a bio:
SELECT nid FROM {bio} WHERE uid = %d
I'm guessing this might be the result of a larger problem, however I have fixed this problem with the attached patch that changes the above line to look through the node table instead.
Comment | File | Size | Author |
---|---|---|---|
bio_for_user_fix.patch | 663 bytes | jjeff |
Comments
Comment #1
dwwIs this an installation that predates bio_update_5100()?
Comment #2
kulfi CreditAttribution: kulfi commentedNeed help figuring out why the following snippet in my Workflow NG Login Redirect results in errors:
Condition:
Error:
Comment #3
sunI do not think that this patch fixes the cause, because you're simply skipping the bio table after Bio failed to add a record for a user.
We have some more patches waiting to be submitted, and one of them is a complete user registration overhaul.