CiviCRM has not bootstrapped sufficiently to fire event "hook_civicrm_entityTypes".
Overview
Upgrade to 5.50.1 results in
CiviCRM has not bootstrapped sufficiently to fire event "hook_civicrm_entityTypes".
I am using civicrm_entity. Mosaico is the 'non-typical' CiviCRM extension.
Reproduction steps
- Update CiviCRM
- Attempt top load any page, run CV or drush
- CiviCRM is not bootstrapped sufficiently!
Current behaviour
There is an initialize error. civicrm_entity is in use. I was able to stop this creating an error by refactoring into using drupal events rather than hooks. This just pushed the problem further into civicrm. The drupal civicrm module then caused an error at the initialize() function and after that block. There are reports in stack overflow of this same symptom occurring in Wordpress.
Expected behaviour
Page should load or CV run.
Environment information
- Browser: _Firefox Chrome 100+ /Safari
- CiviCRM: From 5.49.3 to _Master/5.50.0 or 5.50.1 _
- PHP: /7.4/__
- CMS: Drupal 9.3.15
- Database: MariaDB 10.4
- Web Server: Apache 2.4/...
Comments
Commenting out comonModuleBuildList in Container.php as added to git on 21/4/2022 enables the page to load.
Edited by jrobens