După ce mi-am mutat site-ul Drupal 9 pe un alt server, văd toate vizualizările în interfața de utilizare Views, dar una. La fel cu un formular web. Toate sunt acolo, dar unul. M-am uitat în tabelul bazei de date de configurare și vizualizarea și blocurile sunt listate acolo. Nu știu dacă aceasta este o problemă UUID nepotrivită sau ce. Are cineva sugestii, cum pot face ca vizualizarea și formularul web să apară?
Tocmai am importat aceeași bază de date care funcționa pentru site-ul original Drupal 9.
Chiar trebuie să le reconstruiesc? Pare o mulțime de bătăi de cap degeaba, din moment ce sunt în baza de date.
Pe paginile în care au fost plasate blocurile de vizualizări, primesc desigur o eroare, deoarece vizualizarea nu există.
„views_block:post_other-block_16” nu a fost găsit
Și pe pagina de formular web primesc o eroare, deoarece cred că nu poate găsi formularul web.
Avertisment: array_flip(): Se pot inversa numai valorile STRING și INTEGER! în Drupal\Core\Entity\EntityStorageBase->loadMultiple() (linia 312 din core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Avertisment: array_flip(): Se pot inversa numai valorile STRING și INTEGER! în Drupal\Core\Entity\EntityStorageBase->loadMultiple() (linia 312 din /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php)
#0 /code/web/core/includes/bootstrap.inc(346): _drupal_error_handler_real(2, 'array_flip(): C...', '/code/web/core/...', 312)
#1 [funcție internă]: _drupal_error_handler(2, 'array_flip(): C...', '/code/web/core/...', 312, Array)
#2 /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(312): array_flip(Array)
#3 /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(296): Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array)
#4 /code/web/core/lib/Drupal/Core/Entity/EntityBase.php(488): Drupal\Core\Entity\EntityStorageBase->load(NULL)
#5 /code/web/modules/webform/src/Element/Webform.php(39): Drupal\Core\Entity\EntityBase::load(NULL)
#6 [funcție internă]: Drupal\webform\Element\Webform::preRenderWebformElement(Array)
#7 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#8 /code/web/core/lib/Drupal/Core/Render/Renderer.php(772): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception ', 'Drupal\Core\Ren...')
#9 /code/web/core/lib/Drupal/Core/Render/Renderer.php(363): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#10 /code/web/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, false)
#11 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#12 /tmp/rolling/307daff/twig/62284c7206d49_block.html.twig_YWDIpA9i5iaaxIfEH0V1uiMIi/DhVi_sH7DeCKnQFvchxBoEwg5qJtLd0Y0F8pnu-fjXo.php(92): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, „html”, NULL, adevărat)
#13 /code/vendor/twig/twig/src/Template.php(182): __TwigTemplate_3f6686c69176c19ba2b4617cb6325e0a5e759df93b196fc5091701777609(Array3_56609)
#14 /tmp/rolling/307daff/twig/62284c7206d49_block.html.twig_YWDIpA9i5iaaxIfEH0V1uiMIi/DhVi_sH7DeCKnQFvchxBoEwg5qJtLd0Y0Y0Y0F8pnug-php: Array Array6: Twig.
#15 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_3f6686c69176c19ba2b4617cb6325e0a5e759df93b196fc5091701776094, Arraplay)(Array)
#16 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#17 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#18 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#19 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/gavias_k...', Array)
#20 /code/web/core/lib/Drupal/Core/Render/Renderer.php(422): Drupal\Core\Theme\ThemeManager->render('block', Array)
#21 /code/web/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, false)
#22 /code/web/modules/gavias_content_builder/includes/utilities.php(63): Drupal\Core\Render\Renderer->render(Array)
#23 /code/web/themes/gavias_kunco/gva_content_builder/gva_drupal_block.php(107): gavias_content_builder_render_block('webform_2')
#24 /code/web/modules/gavias_content_builder/includes/frontend.php(110): element_gva_drupal_block->render_content(Array, '')
#25 /code/web/modules/gavias_content_builder/includes/frontend.php(54): gavias_content_builder_render_element('gva_drupal_bloc...', Array)
#26 /code/web/modules/gavias_content_builder/includes/frontend.php(22): gavias_content_builder_render_el(Array)
#27 /code/web/modules/gavias_content_builder/src/Plugin/Field/FieldFormatter/GaviasContentBuilderFormatter.php(47): gavias_content_builder_frontend('[{"settings":{"...')
#28 /code/web/core/lib/Drupal/Core/Field/FormatterBase.php(89): Drupal\gavias_content_builder\Plugin\Field\FieldFormatter\GaviasContentBuilderFormatter->viewElements(Object(Drupal\Core\Field\Field), 'ro')
#29 /code/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(263): Drupal\Core\Field\FormatterBase->view(Object(Drupal\Core\Field\FieldItemList), 'ro ')
#30 /code/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(340): Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array)
#31 /code/web/core/modules/node/src/NodeViewBuilder.php(24): Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'full')
#32 /code/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(282): Drupal\node\NodeViewBuilder->buildComponents(Array, Array, Array, 'full')
#33 /code/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(239): Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array)
#34 [funcție internă]: Drupal\Core\Entity\EntityViewBuilder->build(Array)
#35 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#36 /code/web/core/lib/Drupal/Core/Render/Renderer.php(772): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception ', 'Drupal\Core\Ren...')
#37 /code/web/core/lib/Drupal/Core/Render/Renderer.php(363): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#38 /code/web/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, false)
#39 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(241): Drupal\Core\Render\Renderer->render(Array, false)
#40 /code/web/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent{closure}()
#41 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object( Închidere))
#42 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request) ), Obiect(Drupal\Core\Routing\CurrentRouteMatch))
#43 /code/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Obiect (Drupal\Core\Routing\CurrentRouteMatch))
#44 [funcție internă]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#45 /code/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal \Component\EventDispatcher\ContainerAwareEventDispatcher))
#46 /code/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#47 /code/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#48 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#49 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#50 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#51 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#52 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#53 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#54 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#55 /code/web/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#56 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Obiect(Symfony\Component\HttpFoundation\Request))
#57 {principal}