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.
drush en mcapi_cc
Error: Call to a member function bundle() on null in
modules/contrib/mutual_credit/modules/clearingcentral/mcapi_cc.module,
line 160
$entity is null
if ($entity->bundle() == 'exchange') {
Comment | File | Size | Author |
---|---|---|---|
#2 | 2921465-error-bundle-mcapi_cc.patch | 579 bytes | SocialNicheGuru |
Comments
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #3
matslats CreditAttribution: matslats as a volunteer commentedThanks but this patch doesn't address the problem.
The question is, "how and why can NULL be passed into a hook_entity_type_insert callback?".