Fatal ERROR: with drupal 11.1

Created on 17 December 2024, 3 months ago

Problem/Motivation

[17-Dec-2024 02:38:49 UTC] Drupal\Core\DependencyInjection\ContainerNotInitializedException: \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container. in D:\www\drupal\web\core\lib\Drupal.php on line 169 #0 D:\www\erpcons\web\core\lib\Drupal.php(543): Drupal::getContainer()
#1 D:\www\drupal\web\modules\contrib\fullcalendar_view\fullcalendar_view.module(12): Drupal::moduleHandler()

Steps to reproduce

after update drupal 11

Proposed resolution

because of

\Drupal::moduleHandler()->loadInclude('fullcalendar_view', 'inc', 'fullcalendar_view.theme');

all file *.module will load before \Drupal::moduleHandler(). it will crash system

🐛 Bug report
Status

Active

Version

5.2

Component

Code

Created by

🇫🇷France lazzyvn paris

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024