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!

CommentFileSizeAuthor
panels_hash_cache-7.x-hash_anon.patch796 bytesbenclark

Comments

phayes’s picture

Status: Needs review » Reviewed & tested by the community

This looks good.

codycraven’s picture

Confirming, phayes why hasn't this been committed yet?

aschiwi’s picture

works for us too, thanks

brianV’s picture

This patch also works here.

damienmckenna’s picture

Looks like the module needs a new maintainer. *hint* *hint* ;-)

dipen chaudhary’s picture

Status: Reviewed & tested by the community » Fixed

Thanks committed!

dipen chaudhary’s picture

Status: Fixed » Closed (fixed)

Closing this.