Problem/Motivation

The following error displays when creating a node type, without having the Entity Model module installed:

Error: Typed property Drupal\entity_bundle_scaffold\Service\Generator\EntityBundleClassGenerator::$pluginManager must not be accessed before initialization in Drupal\entity_bundle_scaffold\Service\Generator\EntityBundleClassGenerator->getBaseClass() (line 431 of modules/contrib/entity_bundle_scaffold/src/Service/Generator/EntityBundleClassGenerator.php).
Drupal\entity_bundle_scaffold\Service\Generator\EntityBundleClassGenerator->generateNew() (Line: 153)
Drupal\entity_bundle_scaffold\Hooks\EntityInsertHooks->generateBundleClass() (Line: 66)
Drupal\entity_bundle_scaffold\Hooks\EntityInsertHooks->onBundleInsert() (Line: 46)
entity_bundle_scaffold_entity_insert() (Line: 53)

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.