Hi @sundhar
Thanks for your reply. When I go to that configuration page I have:
a textbox labeled Selectors that contains 2 items:
input#edit-title-0-value
textarea#edit-revision-log-0-value
I have a Language dropdown and a checkbox that says Replace text.
Is this what I'm supposed to be seeing?
If yes, I could find no instructions for what to do.
bill_redman β created an issue.
I have since found another way to accomplish what I needed, so this issue is no longer a priority for me. I am also not able to test this on the site since the site is now a live site. I may try it again (with the debug info enabled) on a similarly configured site when I have some time.
I want to thank you both for attempting to assist me. For now, I would close this issue.
Thanks for the reply.
On the Extend page I checked the applicable modules and clicked the Install button. Shortly after, the site crashed and I got the white screen. Attempts to go to any other page on the site resulted in the white screen.
bill_redman β created an issue.
I just tried to import a node which failed but I got 2 conflicting messages:
Status message
Node has been imported succesfully.
One node could not be imported.
So, yes, some additional information would be quite helpful.
Note: I'm exporting a node from a Drupal 9 site and importing to a Drupal 10 site.
Hi levmyshkin,
Thanks for the reply. It turns out that I had neglected to enable the GLightbox Inline module. I'm not quite sure how I missed that since I recall looking for it on the site. Anyway, whatever the reason, it doesn't matter. Once I enabled the module, my videos played in the popup as expected.
Thanks again and thanks for creating these modules.
bill_redman β created an issue.
@awasson, it appears I may have spoken a bit too soon. Although the day I wrote my post I was able to get a video to play as I mentioned (in both Firefox & Chrome) numerous times, recent attempts have not been as successful except in Safari. A popup overlay appears but the video never plays. Just a spinning wheel. I don't know why since I changed nothing from one day to the next.
In Safari, though, my video consistently plays but there is no audio.
My apologies if I got your or anyone's hopes up when it comes to video. However, I stand by my original comments because my primary task did involve images and trying video was just for fun.
I should note that I use a Mac so I don't know what the results would be on a PC.
bill_redman β created an issue.
@mmarler, thanks for the information. Since I'm in the process of upgrading my site to D10, I'm going to deal with this after that's done.
@bart lambert - Thanks, the changes under merge request !4 are what I applied when I said 'the patch'.
@sleitner - Thank you for answering my question. Each day, learn a little bit more.
I just encountered this same error when trying to add a new page or block on a newly created site. Running Drupal 9.5.7, PHP 8.1.14, Insert 8.x-2.0-beta3. I did not yet try your patch. You had stated that it might be helpful to see the log messages, so here are the dumps of the 2 error messages I got. I'd be interested in knowing if you think your patch would still apply.
Warning: Undefined array key "drupalExternalPlugins" in insert_editor_js_settings_alter() (line 833 of /code/web/modules/contrib/insert/insert.module)
#0 /code/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real(2, 'Undefined array...', '/code/web/modul...', 833)
#1 /code/web/modules/contrib/insert/insert.module(833): _drupal_error_handler(2, 'Undefined array...', '/code/web/modul...', 833)
#2 /code/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(562): insert_editor_js_settings_alter(Array, NULL, NULL)
#3 /code/web/core/modules/editor/src/Plugin/EditorManager.php(88): Drupal\Core\Extension\ModuleHandler->alter('editor_js_setti...', Array)
#4 /code/web/core/modules/editor/src/Element.php(100): Drupal\editor\Plugin\EditorManager->getAttachments(Array)
#5 [internal function]: Drupal\editor\Element->preRenderTextFormat(Array)
#6 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#7 /code/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#8 /code/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#9 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#10 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#11 /tmp/rolling/4a6f9b5/twig/6442aaa046ece_field-multiple-value-form_ds57qloNMUETHurvFKNX-za-X/UXcq92eApIyaFd_9jU2PsSbYTrS9Dlq25M0HUjeWgsU.php(89): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#12 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_d93c6c9fa59ad0649a07dcce1924ac9a->doDisplay(Array, Array)
#13 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#14 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#15 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#16 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('core/themes/cla...', Array)
#17 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('field_multiple_...', Array)
#18 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#19 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#20 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#21 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#22 /tmp/rolling/4a6f9b5/twig/6442aaa046ece_node-edit-form.html.twig_6IvRpo8LMM79vlgE1EN6FQKYH/-LUlf70mQ5q_r3jRYdvRndx7paIbZSz8jScARe-tL-U.php(44): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#23 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_8d7605f11e792d80e3297ebd3db6e904->doDisplay(Array, Array)
#24 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#25 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#26 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#27 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('core/themes/cla...', Array)
#28 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('node_edit_form', Array)
#29 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#30 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render(Array, false)
#31 /code/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#32 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(243): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#33 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#34 /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))
#35 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#36 /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))
#37 /code/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#38 /code/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#39 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /code/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#47 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#48 {main}
TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 833 of /code/web/modules/contrib/insert/insert.module)
#0 /code/web/modules/contrib/insert/insert.module(833): array_keys(NULL)
#1 /code/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(562): insert_editor_js_settings_alter(Array, NULL, NULL)
#2 /code/web/core/modules/editor/src/Plugin/EditorManager.php(88): Drupal\Core\Extension\ModuleHandler->alter('editor_js_setti...', Array)
#3 /code/web/core/modules/editor/src/Element.php(100): Drupal\editor\Plugin\EditorManager->getAttachments(Array)
#4 [internal function]: Drupal\editor\Element->preRenderTextFormat(Array)
#5 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#6 /code/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#7 /code/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#8 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#9 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#10 /tmp/rolling/4a6f9b5/twig/6442aaa046ece_field-multiple-value-form_ds57qloNMUETHurvFKNX-za-X/UXcq92eApIyaFd_9jU2PsSbYTrS9Dlq25M0HUjeWgsU.php(89): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#11 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_d93c6c9fa59ad0649a07dcce1924ac9a->doDisplay(Array, Array)
#12 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#13 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#14 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#15 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('core/themes/cla...', Array)
#16 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('field_multiple_...', Array)
#17 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#18 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#19 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#20 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#21 /tmp/rolling/4a6f9b5/twig/6442aaa046ece_node-edit-form.html.twig_6IvRpo8LMM79vlgE1EN6FQKYH/-LUlf70mQ5q_r3jRYdvRndx7paIbZSz8jScARe-tL-U.php(44): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#22 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_8d7605f11e792d80e3297ebd3db6e904->doDisplay(Array, Array)
#23 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#24 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#25 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#26 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('core/themes/cla...', Array)
#27 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('node_edit_form', Array)
#28 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#29 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render(Array, false)
#30 /code/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#31 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(243): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#32 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#33 /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))
#34 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#35 /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))
#36 /code/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#37 /code/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#38 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /code/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#47 {main}
I am not very well versed in applying patches and merge requests so I'm a bit confused reading this thread.
@bart lambert writes that he applied the patches. Are those the patches in #2 or #3 or both or neither?
@sleitner writes Did you use the merge request !4 in #7. What does that mean? Can a merge request be applied like a patch?
Any guidance would be much appreciated.
I just updated my site to PHP 8.1.14 and although my pages that utilize this module are still working as they should, I now get the following warning displayed twice on every page of my site:
Warning: Undefined array key "s" in eval() (line 5 of modules/composer/php/php.module(81) : eval()'d code).
Any thoughts would be appreciated. Thanks.
I am running D9.5.7 & PHP 8.1.14 and was receiving the warning noted in this issue. I then applied the patch in #3 but it did not resolve the problem. Instead, it resulted in a new error when I try to view the site. Full trace follows:
TypeError: array_values(): Argument #1 ($array) must be of type array, null given in array_values() (line 385 of /code/web/modules/composer/gtranslate/src/Plugin/Block/GTranslateBlock.php)
#0 /code/web/modules/composer/gtranslate/src/Plugin/Block/GTranslateBlock.php(385): array_values(NULL)
#1 /code/web/core/modules/block/src/BlockViewBuilder.php(171): Drupal\gtranslate\Plugin\Block\GTranslateBlock->build()
#2 [internal function]: Drupal\block\BlockViewBuilder::preRender(Array)
#3 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#4 /code/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#5 /code/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#6 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#7 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#8 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#9 /tmp/rolling/0b8bbd3/twig/642ed7ecae20a_page.html.twig_jod-O8i4TQnhYu4BU5Poqv1d3/UUPFVvXA-EMU2aa171IsKyhTXPFsfS-a96nsxJz4odw.php(51): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#10 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_5d0be2524ad31eab9c86f4f6c4c40ed6->doDisplay(Array, Array)
#11 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#12 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#13 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#14 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/professi...', Array)
#15 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('page', Array)
#16 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#17 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#18 /tmp/rolling/0b8bbd3/twig/642ed7ecae20a_html.html.twig_vB85B8YBCzHCJFi3sUmfz3yYn/EPqyBhT_Yuh6g3nsZLDt8y7Ak6YTmyfg5WS0QUHAWJY.php(84): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#19 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_925d292f0ae928418ef973f4ad096b6a->doDisplay(Array, Array)
#20 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#21 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#22 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#23 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/professi...', Array)
#24 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('html', Array)
#25 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#26 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(162): Drupal\Core\Render\Renderer->render(Array)
#27 /code/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#28 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(163): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#29 /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))
#30 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#31 /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))
#32 /code/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#33 /code/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#34 /code/web/modules/composer/redirect_after_login/src/RedirectMiddleware.php(46): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Drupal\redirect_after_login\RedirectMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /code/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 /code/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#45 {main}
I can view my site normally if I disable the GTranslate block.
Any thoughts?