Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
PROMESUpdate: maybe the source of this notification is: I installed Relation Entity Collector block as well without having any relation defined??
Comment #2
dieuweI 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.
Comment #3
grahlClosing outdated issue, please reopen if still relevant.