Closed (fixed)
Project:
Drupad
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jan 2011 at 07:54 UTC
Updated:
16 Mar 2011 at 22:11 UTC
Jump to comment: Most recent file
Hello,
Almost every day, I have many repeated errors with drupal 7.x-1.0-beta1
First, I have a notice message saying : Session closed for .
Next, I have this PHP error :
Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in drupad_user_logout() (line 429 in /mysite.com/sites/all/modules/drupad/drupad.module).
Next again, I have this PHP error :
Notice: Undefined property: stdClass::$name in drupad_user_logout() (line 426 in /mysite.com/sites/all/modules/drupad/drupad.module).
These 3 messages fill about 20 pages at once in the message logs.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | d7_warning_upon_session_destroy.patch | 710 bytes | jchatard |
Comments
Comment #1
jchatard commentedHi anavarre,
This must be a dumb error from me.
Can you try the patch attached? Or simply delete the function
drupad_user_logout()in drupad.module.This function has no need to exist and overloads what Drupal core already does.
Thanks,
Jérémy
Comment #2
anavarreThank you for the quick fix. I've just deleted the
drupad_user_logout()function in the drupal.module fileI'll let you know if everything goes right from now on in a few days.
Comment #3
anavarreHello again,
It's been 4 days and everything works as expected. I guess the patch worked then.
Thank you
Comment #4
jchatard commentedThis is committed and will be available in the next release of the module.
Comment #5
BenK commentedKeeping track of this thread
Comment #7
roam2345 commentedgetting a bucket load of these logs in my sites..... hmmm, disabling app till this is fixed.
Comment #8
roam2345 commentedplease roll a release soon, as this is fixed but yet unavailable..
Thanks.
Comment #9
jchatard commentedYep sorry.
It's coming now as 7.x-1.0
Jérémy
Comment #10
roam2345 commentedThanks Jérémy
The app rocks when it works, thanks for the info.