- Issue created by @london6339
TypeError: Drupal\migrate\Plugin\MigratePluginManager::createInstance(): Argument #2 ($configuration) must be of type array, null given, called in /var/www/html/modules/contrib/profile/profile.module on line 309 in Drupal\migrate\Plugin\MigratePluginManager->createInstance() (line 62 of /var/www/html/core/modules/migrate/src/Plugin/MigratePluginManager.php).
#0 /var/www/html/modules/contrib/profile/profile.module(309): Drupal\migrate\Plugin\MigratePluginManager->createInstance()
#1 /var/www/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(552): profile_migration_plugins_alter()
#2 /var/www/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(386): Drupal\Core\Extension\ModuleHandler->alter()
#3 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(259): Drupal\Core\Plugin\DefaultPluginManager->alterDefinitions()
#4 /var/www/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(213): Drupal\migrate\Plugin\MigrationPluginManager->findDefinitions()
#5 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(146): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#6 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(114): Drupal\migrate\Plugin\MigrationPluginManager->expandPluginIds()
#7 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(93): Drupal\migrate\Plugin\MigrationPluginManager->createInstances()
#8 /var/www/html/modules/contrib/migrate_tools/src/Controller/MigrationListBuilder.php(132): Drupal\migrate\Plugin\MigrationPluginManager->createInstance()
#9 /var/www/html/core/lib/Drupal/Core/Entity/EntityListBuilder.php(264): Drupal\migrate_tools\Controller\MigrationListBuilder->buildRow()
#10 /var/www/html/core/lib/Drupal/Core/Entity/Controller/EntityListController.php(23): Drupal\Core\Entity\EntityListBuilder->render()
#11 [internal function]: Drupal\Core\Entity\Controller\EntityListController->listing()
#12 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#13 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#14 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#15 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#16 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#17 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#18 /var/www/html/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#19 /var/www/html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#20 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#21 /var/www/html/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#22 /var/www/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#23 /var/www/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#24 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#25 /var/www/html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#26 /var/www/html/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#27 /var/www/html/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#28 /var/www/html/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#29 /var/www/html/index.php(19): Drupal\Core\DrupalKernel->handle()
#30 {main}
Warning: Trying to access array offset on value of type null in profile_migration_plugins_alter() (line 309 of /var/www/html/modules/contrib/profile/profile.module)
#0 /var/www/html/core/includes/bootstrap.inc(166): _drupal_error_handler_real()
#1 /var/www/html/modules/contrib/profile/profile.module(309): _drupal_error_handler()
#2 /var/www/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(552): profile_migration_plugins_alter()
#3 /var/www/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(386): Drupal\Core\Extension\ModuleHandler->alter()
#4 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(259): Drupal\Core\Plugin\DefaultPluginManager->alterDefinitions()
#5 /var/www/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(213): Drupal\migrate\Plugin\MigrationPluginManager->findDefinitions()
#6 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(146): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#7 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(114): Drupal\migrate\Plugin\MigrationPluginManager->expandPluginIds()
#8 /var/www/html/core/modules/migrate/src/Plugin/MigrationPluginManager.php(93): Drupal\migrate\Plugin\MigrationPluginManager->createInstances()
#9 /var/www/html/modules/contrib/migrate_tools/src/Controller/MigrationListBuilder.php(132): Drupal\migrate\Plugin\MigrationPluginManager->createInstance()
#10 /var/www/html/core/lib/Drupal/Core/Entity/EntityListBuilder.php(264): Drupal\migrate_tools\Controller\MigrationListBuilder->buildRow()
#11 /var/www/html/core/lib/Drupal/Core/Entity/Controller/EntityListController.php(23): Drupal\Core\Entity\EntityListBuilder->render()
#12 [internal function]: Drupal\Core\Entity\Controller\EntityListController->listing()
#13 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#14 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#15 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#16 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#17 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#18 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#19 /var/www/html/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#20 /var/www/html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#21 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#22 /var/www/html/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#23 /var/www/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#24 /var/www/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#25 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#26 /var/www/html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#27 /var/www/html/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#28 /var/www/html/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#29 /var/www/html/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#30 /var/www/html/index.php(19): Drupal\Core\DrupalKernel->handle()
#31 {main}
Drupal 10.3.1
Go to a migration group in /admin/structure/migrate and WSOD will occur.
Fix this crash.
Active
1.0
Code