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.
Every time a user logs out, a new notice is added in DB Log:
Notice: Undefined index: token in drupalchat_user_logout()
I've tracked down the issue and found that there is a code block on drupalchat_user_logout()
, which meant to delete the commercial iFlyChat session token. This code block should have to be placed in the if-statement just above it, which explicitly checks if the site is using the commercial iFlyChat.
I've created a patch moving this code block into the if-statement.
Please review the patch.
Comment | File | Size | Author |
---|---|---|---|
undefined-index-token-in-drupalchat-user-logout.patch | 2.03 KB | Elin Yordanov |
Comments
Comment #2
eigentor CreditAttribution: eigentor commentedI can second that behaviour. It also happens when you switch the user via Masquerade.
Comment #3
apaderno