I did a fresh install of Open Atrium on Pantheon and created a bunch of Spaces. As soon as I delete any Space, I get a long list of notices that say

"Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 688 of /srv/bindings/88a2456283fa4d6eb6dbe188ed823e65/code/profiles/openatrium/modules/contrib/entity/modules/callbacks.inc)."

Comments

ral1239 created an issue. See original summary.

bugeyed’s picture

I'm having the same issue on a fresh installation using Acquia's dev desktop tools.

1) install project
2) follow tour
3) create space during tour, set space to private (also occurs w/ public)
4) go to content page
5) delete space
6) get a ton of errors as per this issue

clearing cache, running update.php, etc, did not resolve the issue.

Issue also occurs when deleting the node from its own edit page, IE: node/2/edit

This issue does not occur when deleting spaces from /sitemap.

huizache’s picture

Same problem on Pantheon on a fresh install,

activated sandbox, created a space with some minimum content, deactivated sandbox, thus deleted the space, and same error.

huizache’s picture

When adding a new space message disappeared. Checked for content, and old folders had not been deleted. No message. Deleted second space, same error. I guess since it will never be without a space this problem is temporary.

dureaghin’s picture

See Duplicate. Looks like this issue related to the Entity API module. Try the patch from here.

Jorrit’s picture

This is a duplicate.