After creating a new site with crm_core I went to CRM Core - Contact types and deleted two types, keeping only 'Individual'. I renamed this contact type to my preference.
Next I went to add new contact and got this notice:
Notice: Trying to get property of non-object in crm_core_contact_access() (line 352 of xxxx\sites\all\modules\contrib\crm_core\modules\crm_core_contact\crm_core_contact.module).
The list of installed modules is equal to the list in https://drupal.org/node/1943632.

Comments

PROMES’s picture

Update: maybe the source of this notification is: I installed Relation Entity Collector block as well without having any relation defined??

dieuwe’s picture

I saw this same error after deleting the "household" contact type and then visiting the "add contact" page.

I flushed the cache, reloaded the page, and the error message didn't come back.

grahl’s picture

Status: Active » Closed (outdated)

Closing outdated issue, please reopen if still relevant.