πŸ‡ΊπŸ‡ΈUnited States @gaelicmichael

Account created on 2 November 2023, about 1 year ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

I'm not sure what you mean by "reduce the scope of the migration."

I am using the Migrate UI dashboard, which attempts a complete migration of all data -- there is no way to migrate selected assets.

I'm going to clear the DB and attempt again, but I won't install the BibCite modules and see if it makes any difference.

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

Only the top part of the error stack is repeated in my error log, so this may be an unrelated issue. I am trying to migrate a site from D7, as I said, and this is triggered during the process.

I'll try to find a better way to report the error.

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

I got this error (as reported in the error logs) when I was attempting to migrate a Drupal 7 site to Drupal 10.3.10.

The error log looks like this:

TypeError: strlen(): Argument #1 ($string) must be of type string, Drupal\Core\Link given in strlen() (line 395 of /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Unicode.php)
#0 /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Unicode.php(395): strlen()
#1 /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Xss.php(65): Drupal\Component\Utility\Unicode::validateUtf8()
#2 /var/www/html/hchs10/core/lib/Drupal/Component/Utility/Xss.php(123): Drupal\Component\Utility\Xss::filter()
#3 /var/www/html/hchs10/core/lib/Drupal/Core/Ajax/MessageCommand.php(127): Drupal\Component\Utility\Xss::filterAdmin()
#4 /var/www/html/hchs10/core/lib/Drupal/Core/Ajax/AjaxResponse.php(43): Drupal\Core\Ajax\MessageCommand->render()
#5 /var/www/html/hchs10/core/modules/big_pipe/src/Render/BigPipe.php(567): Drupal\Core\Ajax\AjaxResponse->addCommand()
#6 /var/www/html/hchs10/core/modules/big_pipe/src/Render/BigPipe.php(283): Drupal\big_pipe\Render\BigPipe->sendPlaceholders()
#7 /var/www/html/hchs10/core/modules/big_pipe/src/Render/BigPipeResponse.php(113): Drupal\big_pipe\Render\BigPipe->sendContent()
#8 /var/www/html/hchs10/vendor/symfony/http-foundation/Response.php(423): Drupal\big_pipe\Render\BigPipeResponse->sendContent()
#9 /var/www/html/hchs10/index.php(20): Symfony\Component\HttpFoundation\Response->send()
#10 {main}

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

That looks correct to me.

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

#0 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Number.php(40): AcademicPuma\CiteProc\Number->ordinal()
#1 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Number->render()
#2 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#3 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#4 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Choose->render()
#5 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#6 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#7 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#8 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#9 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#10 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#11 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#12 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#13 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Text->render()
#14 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#15 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Choose->render()
#16 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#17 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#18 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#19 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#20 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#21 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#22 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Choose->render()
#23 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#24 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Choose->render()
#25 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#26 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#27 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#28 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#29 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#30 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#31 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Choose.php(33): AcademicPuma\CiteProc\RenderingElement->render()
#32 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Choose->render()
#33 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/RenderingElement.php(35): AcademicPuma\CiteProc\Group->render()
#34 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Macros.php(38): AcademicPuma\CiteProc\RenderingElement->render()
#35 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(117): AcademicPuma\CiteProc\Macros->render_macro()
#36 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Text.php(66): AcademicPuma\CiteProc\CiteProc->render_macro()
#37 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Text->render()
#38 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Group.php(48): AcademicPuma\CiteProc\Group->render()
#39 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Layout.php(42): AcademicPuma\CiteProc\Group->render()
#40 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/Bibliography.php(54): AcademicPuma\CiteProc\Layout->render()
#41 /var/www/html/impact10/vendor/academicpuma/citeproc-php/src/CiteProc.php(110): AcademicPuma\CiteProc\Bibliography->render()
#42 /var/www/html/impact10/modules/contrib/bibcite/src/Plugin/BibCiteProcessor/CiteprocPhp.php(67): AcademicPuma\CiteProc\CiteProc->render()
#43 /var/www/html/impact10/modules/contrib/bibcite/src/CitationStyler.php(92): Drupal\bibcite\Plugin\BibCiteProcessor\CiteprocPhp->render()
#44 /var/www/html/impact10/modules/contrib/bibcite/bibcite.module(41): Drupal\bibcite\CitationStyler->render()
#45 [internal function]: bibcite_preprocess_bibcite_citation()
#46 /var/www/html/impact10/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
#47 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render()
#48 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#49 /var/www/html/impact10/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1198): Drupal\Core\Render\Renderer->render()
#50 /var/www/html/impact10/core/modules/views/views.theme.inc(238): Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender()
#51 [internal function]: template_preprocess_views_view_field()
#52 /var/www/html/impact10/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
#53 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render()
#54 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#55 /var/www/html/impact10/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1790): Drupal\Core\Render\Renderer->render()
#56 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(765): Drupal\views\Plugin\views\field\FieldPluginBase->theme()
#57 [internal function]: Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow()
#58 /var/www/html/impact10/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array()
#59 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(859): Drupal\Core\Render\Renderer->doTrustedCallback()
#60 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(421): Drupal\Core\Render\Renderer->doCallback()
#61 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#62 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(165): Drupal\Core\Render\Renderer->render()
#63 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#64 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(166): Drupal\Core\Render\Renderer->executeInRenderContext()
#65 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(707): Drupal\Core\Render\Renderer->renderPlain()
#66 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(570): Drupal\views\Plugin\views\style\StylePluginBase->renderFields()
#67 /var/www/html/impact10/core/modules/views/src/Plugin/views/style/StylePluginBase.php(461): Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping()
#68 /var/www/html/impact10/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2174): Drupal\views\Plugin\views\style\StylePluginBase->render()
#69 /var/www/html/impact10/core/modules/views/src/ViewExecutable.php(1548): Drupal\views\Plugin\views\display\DisplayPluginBase->render()
#70 /var/www/html/impact10/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2464): Drupal\views\ViewExecutable->render()
#71 /var/www/html/impact10/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#72 /var/www/html/impact10/core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview()
#73 /var/www/html/impact10/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview()
#74 /var/www/html/impact10/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form()
#75 /var/www/html/impact10/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm()
#76 [internal function]: Drupal\views_ui\ViewFormBase->buildForm()
#77 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array()
#78 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm()
#79 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm()
#80 /var/www/html/impact10/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm()
#81 /var/www/html/impact10/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#82 /var/www/html/impact10/core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php(39): Drupal\Core\Controller\FormController->getContentResult()
#83 [internal function]: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult()
#84 /var/www/html/impact10/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#85 /var/www/html/impact10/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#86 /var/www/html/impact10/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#87 /var/www/html/impact10/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#88 /var/www/html/impact10/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#89 /var/www/html/impact10/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#90 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#91 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#92 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#93 /var/www/html/impact10/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#94 /var/www/html/impact10/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#95 /var/www/html/impact10/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#96 /var/www/html/impact10/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#97 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#98 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#99 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#100 /var/www/html/impact10/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#101 /var/www/html/impact10/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#102 /var/www/html/impact10/index.php(19): Drupal\Core\DrupalKernel->handle()
#103 {main}

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

I has just occurred to me that the page I was using for specifying the mapping of fields when importing is under the CSL (whatever that stands for) tab. There is also a tab titled PubMedId.

When I select that tab, an error is displayed:
Error message
Warning: Undefined array key "types" in Drupal\bibcite\Plugin\BibciteFormat->getTypes() (line 25 of modules/contrib/bibcite/src/Plugin/BibciteFormat.php).
Warning: foreach() argument must be of type array|object, null given in Drupal\bibcite_entity\Form\MappingForm->buildForm() (line 86 of modules/contrib/bibcite/modules/bibcite_entity/src/Form/MappingForm.php).
Warning: Undefined array key "fields" in Drupal\bibcite\Plugin\BibciteFormat->getFields() (line 18 of modules/contrib/bibcite/src/Plugin/BibciteFormat.php).
Warning: foreach() argument must be of type array|object, null given in Drupal\bibcite_entity\Form\MappingForm->buildForm() (line 108 of modules/contrib/bibcite/modules/bibcite_entity/src/Form/MappingForm.php).

Is this where the mapping is supposed to be provided? Is there a fix for this error?

πŸ‡ΊπŸ‡ΈUnited States gaelicmichael

gaelicmichael β†’ created an issue.

Production build 0.71.5 2024