The issue is the file with the user_logout function isn't loaded at the time the function is called.
This problem only occurs when using contrib modules like CAS to log in.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | login_disable-add_module_load_include-2303503-1.patch | 573 bytes | geekygnr |
Comments
Comment #1
geekygnr commentedA simple fix. I found the solution here: https://api.drupal.org/comment/45158#comment-45158
Comment #2
geekygnr commentedSomething I noticed today, this problem only happens when using a different authentication method like CASL which my use case requires.
Comment #3
geekygnr commentedComment #4
klausiYes, also fixes the problem when using hybridauth.
Comment #5
fortis commentedthanks, works for me.
same for drupal 6.x https://www.drupal.org/node/2571567
Comment #8
baikho commentedComment #9
baikho commented