πŸ‡ΊπŸ‡ΈUnited States @samia.wyatt

Account created on 23 February 2022, over 2 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

After spending several hours researching about the issue, I found the error was located on the page--article.html.twig template. I was duplicating a taxonomy field in the twig template when it was already rendering by the view.

Once I removed the unnecessary code on the page--article.html.twig template, the error was resolved. (in my case the conflicting field was a taxonomy field {{ node.field_tags.value }})

Hope this helps!

πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

We are experiencing a similar error after upgrading from Drupal 10.2 to 10.3
Reverting back to 10.2 solved the problem.

InvalidArgumentException: "target_id" is an invalid render array key. Value should be an array but got a string. in Drupal\Core\Render\Element::children() (line 97 of /code/web/core/lib/Drupal/Core/Render/Element.php).

#0 /code/web/core/lib/Drupal/Core/Render/Renderer.php(462): Drupal\Core\Render\Element::children(Array, true)
#1 /code/web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#2 /code/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#3 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#4 /tmp/rolling/live_36/twig/6685a4c29a569_page--article.html.twig_R8Xw9gdeQLYM62KDdeSMZLa6X/e2c9qnCIRohWTpZgBODJgdfgNXg20NAmVPyW9Olqp74.php(103): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#5 /code/vendor/twig/twig/src/Template.php(360): __TwigTemplate_16801ed8d6cd49e2eafca62f095583cd->doDisplay(Array, Array)
#6 /code/vendor/twig/twig/src/Template.php(335): Twig\Template->yield(Array)
#7 /code/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render(Array)
#8 /code/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#9 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/a...', Array)
#10 /code/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('page', Array)
#11 /code/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#12 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#13 /tmp/rolling/live_36/twig/6685a4c29a569_html.html.twig_1el1ULN29qa5IjhF3o9Z6fREt/EoqSbUmk_qmYLhcc-LMlFZtLLOLwOuHBtn5wbvFSMnM.php(90): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#14 /code/vendor/twig/twig/src/Template.php(360): __TwigTemplate_912ed9957d273b25091f59f94fc068d4->doDisplay(Array, Array)
#15 /code/vendor/twig/twig/src/Template.php(335): Twig\Template->yield(Array)
#16 /code/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render(Array)
#17 /code/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#18 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/a...', Array)
#19 /code/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('html', Array)
#20 /code/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#21 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(158): Drupal\Core\Render\Renderer->render(Array)
#22 /code/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#23 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(159): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#24 /code/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#25 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#26 /code/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#27 /code/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#28 /code/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#29 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /code/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /code/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /code/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /code/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /code/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#42 {main}
πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

Hello all,
I have't had any luck installing Paragraphs Normalizer with Drupal 10. Tried both with patch #2 and MR plain diff.
In both cases I get the same errors. Is there a step I am missing?

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/paragraphs_normalizer dev-1.x requires drupal/core ^8.8 || ^9.0 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.2.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - drupal/paragraphs_normalizer 1.x-dev is an alias of drupal/paragraphs_normalizer dev-1.x and thus requires it to be installed too.
    - Root composer.json requires drupal/paragraphs_normalizer 1.x-dev -> satisfiable by drupal/paragraphs_normalizer[1.x-dev (alias of dev-1.x)].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

Thanks @Swathi257 changing to SFTP mode on Pantheon fixed the error!

πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

Running command drush php:eval "\Drupal::keyValue('update_fetch_task')->deleteAll();" on D 9.5.11 fixed my issue!

πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

I ran drush php:eval "\Drupal::keyValue('update_fetch_task')->deleteAll();" from #7 and it worked! I can see the available updates again. Thank you ericdsd for the recommendation.

πŸ‡ΊπŸ‡ΈUnited States samia.wyatt

Hi @cilefen the logs do not provide any type of information and to my knowledge there is no HTTP proxy required.
config.preferred-install is currently set to "dif" in composer.json

  },
    "config": {
        "preferred-install": "dist",
        "sort-packages": false,
        "platform": {
            "php": "8.1.13"
        },
Production build 0.71.5 2024