Notice: Undefined property: stdClass::$nid in EntityCacheBaseController->load() (line 192 of ...sites/all/modules/contrib/entitycache/entitycache.module).

I get this on the module page after a new build of a profile.

I am load content using node_load in the profile start. One of the nodes is show up here with out a nid.

If i clear cache this warning goes away.

CommentFileSizeAuthor
#2 1025860.patch593 bytese2thex
#1 1025860.patch753 bytese2thex

Comments

e2thex’s picture

StatusFileSize
new753 bytes

This patch just check to insure that the key is set idKey is set bfore saving back the entity

e2thex’s picture

StatusFileSize
new593 bytes

That patch was from the incorrect path
This one is from the correct one

catch’s picture

Status: Active » Postponed (maintainer needs more info)

This looks like you managed to load a node without an $nid. Can you reproduce it consistently? If so could you try to reproduce it with the entitycache module disabled?

catch’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)