This function:
https://api.drupal.org/api/drupal/core%21modules%21rdf%21rdf.module/func...
Authors problem after executing at:
/admin/structure/migrate/manage/my_wordpress1/migrations/my1_wordpress_authors/execute
See also:
- #3123393: Users are duplicated (Integrity constraint violation) Duplicate entry
- #2614720: Fatal errors while loading/building orphaned comments - I think we have a version of this
- #2978320: [backport] rdf comment storage load should not load NULL comments related
Error: Call to a member function toUrl() on null in rdf_comment_storage_load() (line 245 of /app/web/core/modules/rdf/rdf.module)
#0 /app/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(818): rdf_comment_storage_load(Array)
#1 /app/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(416): Drupal\Core\Entity\ContentEntityStorageBase->invokeStorageLoadHook(Array)
#2 /app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(300): Drupal\Core\Entity\Sql\SqlContentEntityStorage->doLoadMultiple(Array)
#3 /app/web/core/modules/comment/src/Entity/Comment.php(193): Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array)
#4 /app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(432): Drupal\comment\Entity\Comment::postDelete(Object(Drupal\comment\CommentStorage), Array)
#5 /app/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(786): Drupal\Core\Entity\EntityStorageBase->delete(Array)
#6 /app/web/core/modules/comment/comment.module(414): Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete(Array)
#7 [internal function]: comment_entity_predelete(Object(Drupal\node\Entity\Node))
#8 /app/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('comment_entity_...', Array)
#9 /app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(206): Drupal\Core\Extension\ModuleHandler->invokeAll('entity_predelet...', Array)
#10 /app/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(843): Drupal\Core\Entity\EntityStorageBase->invokeHook('predelete', Object(Drupal\node\Entity\Node))
#11 /app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(424): Drupal\Core\Entity\ContentEntityStorageBase->invokeHook('predelete', Object(Drupal\node\Entity\Node))
#12 /app/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(786): Drupal\Core\Entity\EntityStorageBase->delete(Array)
#13 /app/web/core/modules/node/node.module(798): Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete(Array)
#14 [internal function]: node_user_predelete(Object(Drupal\user\Entity\User))
#15 /app/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('node_user_prede...', Array)
#16 /app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(204): Drupal\Core\Extension\ModuleHandler->invokeAll('user_predelete', Array)
#17 /app/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(843): Drupal\Core\Entity\EntityStorageBase->invokeHook('predelete', Object(Drupal\user\Entity\User))
#18 /app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(424): Drupal\Core\Entity\ContentEntityStorageBase->invokeHook('predelete', Object(Drupal\user\Entity\User))
#19 /app/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(786): Drupal\Core\Entity\EntityStorageBase->delete(Array)
#20 /app/web/core/lib/Drupal/Core/Entity/EntityBase.php(403): Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete(Array)
#21 /app/web/core/modules/migrate/src/Plugin/migrate/destination/Entity.php(205): Drupal\Core\Entity\EntityBase->delete()
#22 /app/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(369): Drupal\migrate\Plugin\migrate\destination\Entity->rollback(Array)
#23 /app/web/core/modules/migrate/src/MigrateExecutable.php(314): Drupal\migrate\Plugin\migrate\destination\EntityContentBase->rollback(Array)
#24 /app/web/modules/contrib/migrate_tools/src/Form/MigrationExecuteForm.php(217): Drupal\migrate\MigrateExecutable->rollback()
#25 [internal function]: Drupal\migrate_tools\Form\MigrationExecuteForm->submitForm(Array, Object(Drupal\Core\Form\FormState))
#26 /app/web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array(Array, Array)
#27 /app/web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState))
#28 /app/web/core/lib/Drupal/Core/Form/FormBuilder.php(591): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState))
#29 /app/web/core/lib/Drupal/Core/Form/FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm('migration_execu...', Array, Object(Drupal\Core\Form\FormState))
#30 /app/web/core/lib/Drupal/Core/Controller/FormController.php(91): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\migrate_tools\Form\MigrationExecuteForm), Object(Drupal\Core\Form\FormState))
#31 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#32 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#33 /app/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#34 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#35 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#36 /app/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#37 /app/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#38 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /app/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /app/web/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /app/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#47 {main}
Comments
Comment #2
hongpong commentedSEE #2614720: Fatal errors while loading/building orphaned comments
#2978320: [backport] rdf comment storage load should not load NULL comments
Comment #3
hongpong commentedComment #4
hongpong commentedComment #5
hongpong commentedComment #6
hongpong commentedit looks like this is fixed upstream on 8.9 branch and 9.0 branches also...
Comment #7
hongpong commented