- Issue created by @drupalferret
- 🇬🇧United Kingdom drupalferret
Here is the error log output:
Error: Call to a member function addConstraint() on null in ginvite_entity_type_alter() (line 306 of /home/mywebsite/public_html/community/html/modules/contrib/ginvite/ginvite.module) #0 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(545): ginvite_entity_type_alter()
#1 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(340): Drupal\Core\Extension\ModuleHandler->alter()
#2 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php(123): Drupal\Core\Plugin\DefaultPluginManager->alterDefinitions()
#3 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(181): Drupal\Core\Entity\EntityTypeManager->findDefinitions()
#4 /home/mywebsite/public_html/community/html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#5 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php(132): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#6 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php(253): Drupal\Core\Entity\EntityTypeManager->getDefinition()
#7 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php(192): Drupal\Core\Entity\EntityTypeManager->getHandler()
#8 /home/mywebsite/public_html/community/html/core/lib/Drupal/Core/Datetime/DateFormatter.php(93): Drupal\Core\Entity\EntityTypeManager->getStorage()
#9 [internal function]: Drupal\Core\Datetime\DateFormatter->__construct()
#10 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1140): ReflectionClass->newInstanceArgs()
#11 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(586): Symfony\Component\DependencyInjection\ContainerBuilder->createService()
#12 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1258): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()
#13 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1210): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()
#14 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1110): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()
#15 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(586): Symfony\Component\DependencyInjection\ContainerBuilder->createService()
#16 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1258): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()
#17 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1210): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()
#18 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1665): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()
#19 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(1166): Symfony\Component\DependencyInjection\ContainerBuilder->callMethod()
#20 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(586): Symfony\Component\DependencyInjection\ContainerBuilder->createService()
#21 /home/mywebsite/public_html/community/vendor/symfony/dependency-injection/ContainerBuilder.php(531): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()
#22 /home/mywebsite/.config/composer/vendor/drush/drush/src/Boot/DrupalBoot8.php(306): Symfony\Component\DependencyInjection\ContainerBuilder->get()
#23 /home/mywebsite/.config/composer/vendor/drush/drush/src/Boot/DrupalBoot8.php(253): Drush\Boot\DrupalBoot8->addDrupalModuleDrushCommands()
#24 /home/mywebsite/.config/composer/vendor/drush/drush/src/Boot/BootstrapManager.php(291): Drush\Boot\DrupalBoot8->bootstrapDrupalFull()
#25 /home/mywebsite/.config/composer/vendor/drush/drush/src/Boot/BootstrapManager.php(432): Drush\Boot\BootstrapManager->doBootstrap()
#26 /home/mywebsite/.config/composer/vendor/drush/drush/src/Boot/BootstrapManager.php(384): Drush\Boot\BootstrapManager->bootstrapToPhaseIndex()
#27 /home/mywebsite/.config/composer/vendor/drush/drush/src/Boot/BootstrapHook.php(32): Drush\Boot\BootstrapManager->bootstrapToPhase()
#28 /home/mywebsite/.config/composer/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(44): Drush\Boot\BootstrapHook->initialize()
#29 /home/mywebsite/.config/composer/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(36): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook()
#30 /home/mywebsite/.config/composer/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(29): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook()
#31 /home/mywebsite/.config/composer/vendor/consolidation/annotated-command/src/CommandProcessor.php(145): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize()
#32 /home/mywebsite/.config/composer/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(376): Consolidation\AnnotatedCommand\CommandProcessor->initializeHook()
#33 /home/mywebsite/public_html/community/vendor/symfony/console/Command/Command.php(292): Consolidation\AnnotatedCommand\AnnotatedCommand->initialize()
#34 /home/mywebsite/public_html/community/vendor/symfony/console/Application.php(1081): Symfony\Component\Console\Command\Command->run()
#35 /home/mywebsite/public_html/community/vendor/symfony/console/Application.php(320): Symfony\Component\Console\Application->doRunCommand()
#36 /home/mywebsite/public_html/community/vendor/symfony/console/Application.php(174): Symfony\Component\Console\Application->doRun()
#37 /home/mywebsite/.config/composer/vendor/drush/drush/src/Runtime/Runtime.php(124): Symfony\Component\Console\Application->run()
#38 /home/mywebsite/.config/composer/vendor/drush/drush/src/Runtime/Runtime.php(51): Drush\Runtime\Runtime->doRun()
#39 /home/mywebsite/.config/composer/vendor/drush/drush/drush.php(79): Drush\Runtime\Runtime->run()
#40 /home/mywebsite/.config/composer/vendor/drush/drush/drush(4): require('/home/mywebsite...')
#41 /home/mywebsite/.config/composer/vendor/bin/drush(120): include('/home/mywebsite...')
#42 {main}.
Error: Call to a member function addConstraint() on null in ginvite_entity_type_alter() (line 306 of /home/mywebsite/public_html/community/html/modules/contrib/ginvite/ginvite.module).