When adding the user to the hash, this notice is thrown when viewed by anonymous:
Notice: Undefined property: stdClass::$name in panels_hash_cache_get_id()
Notice: Undefined property: stdClass::$mail in panels_hash_cache_get_id()
It looks as though the anonymous $user object doesn't have these properties. I'm submitting a patch that wraps the use of these properties in user_is_logged_in().
Hope this helps! Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| panels_hash_cache-7.x-hash_anon.patch | 796 bytes | benclark |
Comments
Comment #1
phayes commentedThis looks good.
Comment #2
codycraven commentedConfirming, phayes why hasn't this been committed yet?
Comment #3
aschiwi commentedworks for us too, thanks
Comment #4
brianV commentedThis patch also works here.
Comment #5
damienmckennaLooks like the module needs a new maintainer. *hint* *hint* ;-)
Comment #6
dipen chaudhary commentedThanks committed!
Comment #7
dipen chaudhary commentedClosing this.