CiviCRM has not bootstrapped

Created on 15 March 2021, over 3 years ago
Updated 25 April 2024, 7 months ago

Problem/Motivation

After recent update civi 5.35.0 and civi_entity 8.x-3.0-beta2
I run into this issue :

[RuntimeException]
  CiviCRM has not bootstrapped sufficiently to fire event "hook_civicrm_alter_drupal_entities".
Exception trace:
  at /path/vendor/civicrm/civicrm-core/Civi/Core/CiviEventDispatcher.php:121
 Civi\Core\CiviEventDispatcher->dispatch() at /path/vendor/civicrm/civicrm-core/CRM/Utils/Hook.php:167
 CRM_Utils_Hook->invoke() at /path/web/modules/contrib/civicrm_entity/src/SupportedEntities.php:850
 Drupal\civicrm_entity\SupportedEntities::alterEntityInfo() at /path/web/modules/contrib/civicrm_entity/src/SupportedEntities.php:690
 Drupal\civicrm_entity\SupportedEntities::getInfo() at /path/web/modules/contrib/civicrm_entity/civicrm_entity.module:48
 civicrm_entity_entity_type_build() at /path/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php:129

Steps to reproduce

First drush en civicrm_entity
Then drush updb -vvv

πŸ› Bug report
Status

Closed: works as designed

Component

Code

Created by

πŸ‡«πŸ‡·France andrimont

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States markusa

    I've seen this error in a number of situations. This error bubbles up if there is a CiviCRM error when CE invokes the alter entities hook. I've seen a number of different errors cause this, like missing extensions, a PHP compatibility bug in extensions.

    There is nothing to fix in CE for this.

Production build 0.71.5 2024