Notice: Trying to get property of non-object in entitycache_user_logout

Created on 19 September 2014, about 10 years ago
Updated 25 July 2023, over 1 year ago

In some scenarios, the logout action triggers this warning:

Notice: Trying to get property of non-object in entitycache_user_logout() (line 408 of /www/pfw/releases/20140912130110/profiles/pfwprofile/modules/contrib/entitycache/entitycache.module)

This happens because hook_user_logout is trying to be cache_clear $account without checking previously that this object exists and has this field.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom alexmoreno

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024