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.
The is_online field does not work when the views involves a relationship [user_relationships module] (as in: Show those of my friends who are online.)
Adding the field in the views with a relationship (requester or requestee) gives the following error:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') < 300, 1, 0)) AS users_user_relationships_is_online FROM user_relationships u' at line 1
A reply would be very much appreciated.
Thank you.
Comments
Comment #1
Triumphent CreditAttribution: Triumphent commentedAfter waiting a year and a half, I guess I won't get that courtesy!