- Issue created by @pandurengan.jegadeesan
- 🇮🇳India pandurengan.jegadeesan
Original function is
protected static function placeholderEscape($value) { return $value instanceof MarkupInterface ? (string) $value : Html::escape($value); }
and changed to below function and it is working but with a warning message
Warning: Array to string conversion in core\lib\Drupal\Component\Render\FormattableMarkup.php on line 274protected static function placeholderEscape($value) { if ($value instanceof MarkupInterface) { return (string) $value; } else { $value = (string) $value; return Html::escape($value); } }
is it the correct one or need to change it?
- Status changed to Needs review
over 1 year ago 12:56pm 5 April 2023 - 🇮🇳India Ranjit1032002
Created a patch for the issue mention, please review.
Thank You. Thanks for posting a patch, and for posting a backtrace. We have had many workaround patches but absent the steps to reproduce these are not usually incorporated into Drupal.
This is something to do with a view. Are the words "Attempt to add" in a view field or custom template on that site?
- 🇺🇸United States smustgrave
Moving to PNMI
#4 is correct we need steps to reproduce this.
Not sure the fix is the right approach as this may be masking a large issue.
There will need to be a test case.
- Status changed to Postponed: needs info
over 1 year ago 2:03am 4 May 2023 - 🇵🇭Philippines danreb
Also experiencing this error on Webform submission. Here's the complete stack trace, PHP 8.1 and Drupal 9.5.9 combo
TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given in /code/web/core/lib/Drupal/Component/Utility/Html.php on line 432 #0 /code/web/core/lib/Drupal/Component/Utility/Html.php(432): htmlspecialchars(Array, 11, 'UTF-8') #1 /code/web/core/lib/Drupal/Component/Render/FormattableMarkup.php(270): Drupal\Component\Utility\Html::escape(Array) #2 /code/web/core/lib/Drupal/Component/Render/FormattableMarkup.php(216): Drupal\Component\Render\FormattableMarkup::placeholderEscape(Array) #3 /code/web/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php(195): Drupal\Component\Render\FormattableMarkup::placeholderFormat('Success [@tx_id...', Array) #4 /code/web/core/lib/Drupal/Component/Utility/ToStringTrait.php(15): Drupal\Core\StringTranslation\TranslatableMarkup->render() #5 /code/web/modules/contrib/elastic_email/src/Plugin/Mail/ElasticEmailMailSystem.php(315): Drupal\Core\StringTranslation\TranslatableMarkup->__toString() #6 /code/web/modules/contrib/elastic_email/src/Plugin/Mail/ElasticEmailMailSystem.php(139): Drupal\elastic_email\Plugin\Mail\ElasticEmailMailSystem->send(Array) #7 /code/web/modules/contrib/mailsystem/src/Adapter.php(50): Drupal\elastic_email\Plugin\Mail\ElasticEmailMailSystem->mail(Array) #8 /code/web/core/lib/Drupal/Core/Mail/MailManager.php(307): Drupal\mailsystem\Adapter->mail(Array) #9 /code/web/core/lib/Drupal/Core/Mail/MailManager.php(180): Drupal\Core\Mail\MailManager->doMail('webform', 'contact_email_s...', 'redacted@email.com,...', 'en', Array, 'redacted@email.c...', true) #10 /code/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Mail\MailManager->Drupal\Core\Mail\{closure}() #11 /code/web/core/lib/Drupal/Core/Mail/MailManager.php(181): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #12 /code/web/modules/contrib/mailsystem/src/MailsystemManager.php(70): Drupal\Core\Mail\MailManager->mail('webform', 'contact_email_s...', 'redacted@email.com,...', 'en', Array, 'edacted@email.c...', true) #13 /code/web/modules/contrib/webform/src/Plugin/WebformHandler/EmailWebformHandler.php(1167): Drupal\mailsystem\MailsystemManager->mail('webform', 'contact_email_s...', 'redacted@email.com,...', 'en', Array, 'redacted@email.c...') #14 /code/web/modules/contrib/webform/src/Plugin/WebformHandler/EmailWebformHandler.php(859): Drupal\webform\Plugin\WebformHandler\EmailWebformHandler->sendMessage(Object(Drupal\webform\Entity\WebformSubmission), Array) #15 /code/web/modules/contrib/webform/src/Entity/Webform.php(2758): Drupal\webform\Plugin\WebformHandler\EmailWebformHandler->postSave(Object(Drupal\webform\Entity\WebformSubmission), false, NULL) #16 /code/web/modules/contrib/webform/src/WebformSubmissionStorage.php(1212): Drupal\webform\Entity\Webform->invokeHandlers('postSave', Object(Drupal\webform\Entity\WebformSubmission), false, NULL) #17 /code/web/modules/contrib/webform/src/WebformSubmissionStorage.php(1120): Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers('postSave', Object(Drupal\webform\Entity\WebformSubmission), false) #18 /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(523): Drupal\webform\WebformSubmissionStorage->doPostSave(Object(Drupal\webform\Entity\WebformSubmission), false) #19 /code/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(804): Drupal\Core\Entity\EntityStorageBase->save(Object(Drupal\webform\Entity\WebformSubmission)) #20 /code/web/modules/contrib/webform/src/WebformSubmissionStorage.php(983): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object(Drupal\webform\Entity\WebformSubmission)) #21 /code/web/core/lib/Drupal/Core/Entity/EntityBase.php(339): Drupal\webform\WebformSubmissionStorage->save(Object(Drupal\webform\Entity\WebformSubmission)) #22 /code/web/modules/contrib/webform/src/Entity/WebformSubmission.php(901): Drupal\Core\Entity\EntityBase->save() #23 /code/web/modules/contrib/webform/src/WebformSubmissionForm.php(1995): Drupal\webform\Entity\WebformSubmission->save() #24 [internal function]: Drupal\webform\WebformSubmissionForm->save(Array, Object(Drupal\Core\Form\FormState)) #25 /code/web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array(Array, Array) #26 /code/web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) #27 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(597): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) #28 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm('webform_submiss...', Array, Object(Drupal\Core\Form\FormState)) #29 /code/web/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\webform\WebformSubmissionForm), Object(Drupal\Core\Form\FormState)) #30 /code/web/modules/contrib/webform/src/Entity/Webform.php(1250): Drupal\Core\Entity\EntityFormBuilder->getForm(Object(Drupal\webform\Entity\WebformSubmission), 'add') #31 /code/web/modules/contrib/webform/src/Element/Webform.php(103): Drupal\webform\Entity\Webform->getSubmissionForm(Array) #32 [internal function]: Drupal\webform\Element\Webform::preRenderWebformElement(Array) #33 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array) #34 /code/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...') #35 /code/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) #36 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false) #37 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array) #38 /tmp/rolling/live_162/twig/645308e6acf0e_block--webform-block.html_14Ji2JzKax0tH_cjLXHAP10K2/KTVmtGHDAJmn5DSe0XSwosTZuppZDa9NcxyEfBivnKs.php(83): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #39 /code/vendor/twig/twig/src/Template.php(182): __TwigTemplate_47ebe4508918a9b31dce810a9cd05a22->block_content(Array, Array) #40 /tmp/rolling/live_162/twig/645308e6acf0e_block--webform-block.html_14Ji2JzKax0tH_cjLXHAP10K2/KTVmtGHDAJmn5DSe0XSwosTZuppZDa9NcxyEfBivnKs.php(71): Twig\Template->displayBlock('content', Array, Array) #41 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_47ebe4508918a9b31dce810a9cd05a22->doDisplay(Array, Array) #42 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array) #43 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array) #44 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array) #45 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/custom/r...', Array) #46 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('block', Array) #47 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array) #48 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false) #49 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array) #50 /tmp/rolling/live_162/twig/645308e6acf0e_page.html.twig_TaxOXADBnVGcSkC0Q6YxwsyKV/jHnaxx7_zJtSiKxc1karbanVfzFitq7i39O9GCeIdm4.php(203): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #51 /code/vendor/twig/twig/src/Template.php(182): __TwigTemplate_934bfbe79b0c3edfc95e3a9ac498c495->block_layout_content(Array, Array) #52 /tmp/rolling/live_162/twig/645308e6acf0e_page.html.twig_TaxOXADBnVGcSkC0Q6YxwsyKV/jHnaxx7_zJtSiKxc1karbanVfzFitq7i39O9GCeIdm4.php(149): Twig\Template->displayBlock('layout_content', Array, Array) #53 /code/vendor/twig/twig/src/Template.php(182): __TwigTemplate_934bfbe79b0c3edfc95e3a9ac498c495->block_replaceable(Array, Array) #54 /tmp/rolling/live_162/twig/645308e6acf0e_page.html.twig_TaxOXADBnVGcSkC0Q6YxwsyKV/jHnaxx7_zJtSiKxc1karbanVfzFitq7i39O9GCeIdm4.php(78): Twig\Template->displayBlock('replaceable', Array, Array) #55 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_934bfbe79b0c3edfc95e3a9ac498c495->doDisplay(Array, Array) #56 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array) #57 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array) #58 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array) #59 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/custom/r...', Array) #60 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('page', Array) #61 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false) #62 /code/web/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array) #63 /tmp/rolling/live_162/twig/645308e6acf0e_html.html.twig_OuTMSG2355Bih5WfMUP7t6tew/7FmXiPU40CpoO33XKL_vTleMn90taEa_Ed6BDuXmwEw.php(114): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #64 /code/vendor/twig/twig/src/Template.php(405): __TwigTemplate_5e5dbdb2ca1560371422b85a63b06877->doDisplay(Array, Array) #65 /code/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array) #66 /code/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array) #67 /code/web/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array) #68 /code/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/custom/r...', Array) #69 /code/web/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('html', Array) #70 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false) #71 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(162): Drupal\Core\Render\Renderer->render(Array) #72 /code/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #73 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(163): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #74 /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)) #75 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #76 /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)) #77 /code/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view') #78 /code/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #79 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #80 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #81 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #82 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #83 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #84 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #85 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #86 /code/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #87 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #88 {main}
- 🇺🇸United States totten
Over at CiviCRM.org, we have an E2E test-suite for checking the integration between Civi and D9/D7/BD/et al. Following yesterday's release, some of the D9-Civi tests have been raising a red-flag for this issue. I can give steps-to-reproduce, but they are specific to Civi, so it's probably more useful to describe the situation.
Breadcrumb Scenario - General description
- The scenario involves a page-request for
/civicrm/dev/fake-error
. (Note: Routes are mapped between Civi and D9 via Drupal\civicrm\Routing\Routes.) - The page request fails because
"TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given"
. - Specifically, while rendering this page, D9 attempts to show breadcrumbs ("olivero_breadcrumbs"). Each breadcrumb has a title (instance of "TranslateableMarkup"").
- In some breadcrumb titles, the "TranslateableMarkup::$arguments" include array values.
- Breadcrumb titles are generated by "TitleResolver", which copies all data from
$request->attributes->get("_raw_variables")
tot(...$args...)
.
This seems to be the conflict:
- TitleResolver is trying to copy every variable that might potentially be useful for the title-string. (It doesn't seem to care which variables are actually used.)
- Html::escape is trying to escape every variable that might potentially be used in the title. (It doesn't seem to care which variables are actually used.)
- There are some request-attributes (like
"args"
) which are not intended for page-titles, and they are referenced by page-titles, and are not simple strings.
In short, invisible metadata is getting copied-around and unnecessarily subjected to escaping-rules that it doesn't pass and doesn't need to pass.
Perhaps the simplest change would be to update
FormattableMarkup::placeholderFormat()
to apply escaping lazily? e.g. usepreg_replace_callback()
instead ofstrtr()
?Breadcrumb Scenario - Specifics
I observed this problem while debugging a failure in CiviCRM's E2E\Core\ErrorTest.
The purpose of the test is to provoke errors and confirm that the Civi-Drupal integration displays those errors in a semi-sensible way. If you have an environment that's configured for running this test-suite, then the way to execute is:
cd vendor/civicrm/civicrm-core phpunit8 --debug tests/phpunit/E2E/Core/ErrorTest.php
(I'm not sure if this specific test is easy to run from a Drupal POV. Many Civi tests require some setup. OTOH, E2E tests don't require as much setup. If it's necessary/helpful, I can come up with more pointers for running it or provide a temporary VM for running it.)
- The scenario involves a page-request for
- 🇺🇸United States marvs5
I am having issues similar to @totten. The D9 pages work fine for me. The CiviCRM pages throw the error.
- Status changed to Needs review
over 1 year ago 8:22pm 4 May 2023 - Status changed to Needs work
over 1 year ago 8:48pm 4 May 2023 - 🇺🇸United States smustgrave
Now that there are steps to reproduce it will need a test case to show the problem.
- Status changed to Postponed: needs info
over 1 year ago 12:15am 5 May 2023 - 🇺🇸United States totten
It's possible that the "Breadcrumb Scenario (CiviCRM)" is a little different from the original filing on this issue. In particular, the initial description talks of a problem experienced in 9.5.7 with cron jobs. For the Breadcrumb/CiviCRM scenario, 9.5.7 was OK -- problem begain in 9.5.9.
Related discussion: https://www.drupal.org/project/drupal/issues/3277784 🐛 copyRawVariables should support default route parameters Fixed
- Status changed to Needs work
over 1 year ago 8:49am 5 May 2023 - 🇩🇪Germany jensschuppe
The patch in #3 is not really handling the root of the problem, as things ending up in
htmlspecialchars()
might not be cast-able to a string, because route defaults are not restricted to any set of data types.The bug seems to be in the
TitleResolver
class, which just copies all route parameters, and those include all route defaults whose key does not start with an underscore_
since Drupal 9.5.9. At least there's a mismatch of assumptions now that route default arguments automatically become route parameters and route parameters have been considered safe as title translation arguments.You can reproduce the issue with Drupal 9.5.9 by declaring a new
Route
object with an array in itsdefault
argument, e.g.in a module's
modulename.routing.yml
:route_callbacks: - '\Drupal\modulename\Routing\Routes::getRoutes'
in the module's
src/Routing/Routes.php
:class Routes { public function getRoutes() { $route_collection = new \Symfony\Component\Routing\RouteCollection(); return $route_collection->add('/my-path', [ '_title' => 'Page Title', '_controller' => 'Drupal\modulename\Controller\ModuleController:run', 'my_default_arg' => ['some' => 'array'], ]); return $route_collection; } }
TitleResolver
will then do this (for routes without a_title_callback
and with a_title
):if (($raw_parameters = $request->attributes->get('_raw_variables'))) { foreach ($raw_parameters->all() as $key => $value) { $args['@' . $key] = $value ?? ''; $args['%' . $key] = $value ?? ''; } }
and consequently:
$route_title = $this->t($title, $args, $options);
And this is the very place the
['some' => 'array']
will eventually be passed intohtmlspecialchars()
which expects a string, but any type might get passed in, potentially not cast-able to string.This was not the case prior to Drupal 9.5.9, as defaults from the route with a key not known to Drupal have not been copied as route parameters and would thus not have been inside
$request->attributes->get('_raw_variables')
.The commit introducing that new behavior is
a894a04b
.I would say this is at least Major, as this might be considered a regression, and affected modules end up with no workaround. Also quoting @larowlan in #3277784 🐛 copyRawVariables should support default route parameters Fixed :
I think default arguments can totally be arrays and as such that automagic '@arg' '%arg' should be checking if $value is a scalar - i.e. that sounds like a bug in TitleResolver in my book
- Status changed to Postponed: needs info
over 1 year ago 9:18am 5 May 2023 - 🇩🇪Germany jensschuppe
Realised this might be a different bug, so created a new issue for that: #3358402 🐛 [regression] route defaults are now automatically route parameters Fixed .
- 🇫🇷France Chris64 France
Just a remark. Before
htmlspecialchars()
, common to both #0 and #6 ✨ Add Exception for TypeError Argument must be String in \Drupal\Component\Utility\Html escape{} Needs work , line 216 incore/lib/Drupal/Component/Render/FormattableMarkup.php
inplaceholderFormat()
means a key beginning by @, and the problem means an array as placeholder value instead of a string. Some thing like to use map string => array in the php functionstrtr()
. Quite doubtful. - First commit to issue fork.
- 🇫🇷France Chris64 France
Question: did the arrays in the pure Drupal problems #0 and #6 are of form 1)
'@A' => ['a',]
or 2)'@A' => ['a', 'b', ...]
? If 1), it should be'@A' => 'a'
instead. - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
This issue feels badly cluttered with a "dead end" and many reports came from different scenarios, where it is not finally clear, if they are even connected to each other. The error message is a very general one which can be caused from many corner cases. Can some one who is involved in this issue here please summarize or clear up what's really up? Otherwise we have another postponed forever issue collecting users all having this error over the years, joining, reporting without any idea what this exact issue is about. I also would recommend to start a new issue "Feature request" to get a better error message here to exactly know from where it has been caused since error message can be found in many issues on D.O.
- Status changed to Needs review
over 1 year ago 3:41pm 30 July 2023 - Status changed to Needs work
over 1 year ago 3:50pm 30 July 2023 - 🇺🇸United States smustgrave
Typically needs to be investigated is this is masking a larger issue. Just putting an isset() or !empty() check doesn't work.
But a test case showing the issue will be needed.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
if this is masking a larger issue.
... Agreed. Thanks for chiming in so quick. As we spoke on Slack we have dozens of such issues regarding this error, obviously coming in from different scenarios, where the changed strict type check all finally leads to this error now. Most of them after updating Drupal, some of them after updating PHP. And we need a point to start at for now to prevent further reports with missing details since non of them show the root of their scenario. Can someone familiar with this guide to a way how to track down to the individual cause oft his error so users can refine their reports?
And - as I sad - some of them lead to WSOD in admin area so the Drupal project isn't maintainable on more. As we spoke and confirmed on Slack we should temporary change prio to Major for now until we have quick workarounds for them for how to access their projects again.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
@smustgrave came up with a good idea on #Slack for those who humble over this but don't know how to track down the real issue causing this TypeError message:
Something that might help is someone to use a local patch that when an array is passed log it so maybe that can be used to backtrace where it came from
That's a pretty good idea since the error message at least tells us where this TypeError gets initiated, so the code could be placed around that spot and log the array passed and informations about its source.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
I am not at the dev place at the moment but free from my memory we are around that place aren't we?
422 * @see htmlspecialchars() 423 * @see \Drupal\Component\Utility\Html::decodeEntities() 424 * 425 * @ingroup sanitization 426 */ 427 public static function escape($text): string { 428 if (is_null($text)) { 429 @trigger_error('Passing NULL to ' . __METHOD__ . ' is deprecated in drupal:9.5.0 and will trigger a PHP error from drupal:11.0.0. Pass a string instead. See https://www.drupal.org/node/3318826', E_USER_DEPRECATED); 430 return ''; 431 } 432 return htmlspecialchars($text, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); 433 }
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
I was able to help one user by adding an if_array there and var_dump($text) to find out that in his case the admin language menu seem to cause this issue.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Can anyone of the previous reporters confirm that their occurrences of that Error is caused by a Drupal core code source? If not this issue should be changed to a useful Drupal handling for such cases like an exception with notice message.
- Status changed to Needs review
over 1 year ago 6:34pm 1 August 2023 - 🇫🇷France Chris64 France
May be meditate this issue?: #3169593 → (see patch).
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
#26: not sure how this link contributes to this issue.
#27: please read the last comments regarding where this issue goes. #3 is not a fix and just masking the real issues under the hood.At this state this issue is just an accidentally collecting basin of many different issues showing all the same TypeError. As I sad before: users could really help a lot by checking on their projects which part is causing this error by adding a "var dump in case of array" at the line and then report in the proper issue queues for that so that maintainers can change their codebase to respect the new strict Type handling in their projects.
This issue here should turn into an FR for core where we should discuss what to do with all these TypeErrors, which will surely become even more next time. One suggestion discussed in Slack was to add an Exception into core with a notice warning message so that WSOD can be prevented. Feel free to join the discussion on Slack in #contribute https://drupal.slack.com/archives/C1BMUQ9U6/p1690729458145389 or try to contribute to the issue here. Thanks for understanding.
- last update
over 1 year ago Patch Failed to Apply - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
For those who need help on this (what I wrote above) here is a small patch which provides all you need to check by yourself where this error has been caused by removing the * commenting out of the print part of the patch after being applied.
The patch also includes already a raw model of how an future exception could look like in the right order of first checking if array, then checking if null and if none of them running the default.
- last update
over 1 year ago Custom Commands Failed - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Since I quickly wrote this at night on the road forgive me the trailing whitespaces (caused by terminal vim), but why it says directory does not exist surprises me. From which root dir the tests run? from web ? web/core/?
... another try.
- last update
over 1 year ago Custom Commands Failed - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Forgot comments inside functions or classes etc should be // instead of /**/ in the rush. OK, tried to clean it up a bit for tests to pass. (hopefully now)
- last update
over 1 year ago Custom Commands Failed - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Jesus! OK, it's pretty hard on the road in vim terminal on an external server instead of a local env to get it right. Sorry for the noise.
- last update
over 1 year ago 30,341 pass - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Well I usually would leave indention as it should be even if not commented out, but the parsers wants me to keep only one white space after comment out mark. And I have to add /core manually to the path since the patch has been created in /core/ where we have git HEAD to patch against.
- 🇫🇷France andypost
-
+++ b/core/lib/Drupal/Component/Utility/Html.php @@ -425,11 +425,32 @@ EOD; + // See https://www.drupal.org/node/3352384 for more. ... + @trigger_error('Passing Arguments of Type Array to ' . __METHOD__ . ' will trigger a PHP TypeError in drupal:9.5.0 and higher. Pass a string instead. See https://www.drupal.org/node/3352384', E_USER_DEPRECATED); + \Drupal::messenger()->addMessage('Passing Arguments of Type Array to ' . __METHOD__ . ' will trigger a PHP TypeError in drupal:9.5.0 and higher. Pass a string instead. See <a href="https://www.drupal.org/node/3352384">Drupal core issue 3352384</a> for more details. Enable var_dump() or Devel dpm() by uncommenting the lines 434-439 from this patch added in \Drupal\Component\Utility\Html.php.', 'error', FALSE, $uid = 0);
I think it should be link to change record
-
+++ b/core/lib/Drupal/Component/Utility/Html.php @@ -425,11 +425,32 @@ EOD; } - return htmlspecialchars($text, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); + else { + return htmlspecialchars($text, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); + }
else is superfluous
-
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Thanks @andypost!
else is superfluous
Yeah - If so than ifelse is too. Then we go better for 2 times if and the last one without any relation to the conditions before. Wasn't sure what we prefer here for this temporary patch, that's why. Which isn't the final solution since this issue will be converted soon so do not waste too much spare time for patch reviews yet.
I think it should be link to change record
We would be happy to have the change record. The reason why it took so long to realize what to do with this issue is that we didn't knew the point it has been changed or if it was maybe PHP only. Than the messages would be clearer too, regarding the Drupal version.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Not sure what the initial report tries to tell us with this huge not formatted code pasted, but from the follow up comments further down especially from #6 and below we see that we mainly are discussing the first part of the output provided in the starting post about
htmlspecialchars(): Argument #1 ($string) must be of type string, array given
So let's change the starting post to something useful with some context and maybe let's change it to a useful core issue like discussed before here and on Slack.
- last update
over 1 year ago 30,341 pass - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Following point 2. in #35 ✨ Add Exception for TypeError Argument must be String in \Drupal\Component\Utility\Html escape{} Needs work and respecting logical conclusion in #36 so turning if-ifelse-else into if-if-x reduces the patch size and numbers of lines and removes the lines discussed in #35, since last part of
public static function escape($text): string {
is now like before. - 🇫🇷France Chris64 France
To follow an maybe wrong idea (I1).
The new test and warning about array (T1) look like the test and warning about null (T0) in the same function (F0).
This one, T0, refers to an information, #3318826 → , where this function and few others are evoked.
This information is evoked in an other function, FormattableMarkup::placeholderFormat (F1), in a similar test and warning about null.Question 1:does the new test and warning T1 should concern these few others functions too?
Question 2:when function F0 is called with warning T1, does the function F1 is called?
- last update
over 1 year ago 30,341 pass - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
@Chris64:
Question 1:does the new test and warning T1 should concern these few others functions too?
.
No, the handling of if NULL is fine like it is IMHO since it doesn't cause issues like if Array does.Question 2:when function F0 is called with warning T1, does the function F1 is called?
Since all if() parts own a return the other parts won't be passed from my understanding. So if Array is given, if NULL and the other lines below won't be executed no more. if Array is TRUE then we return the string converted Array with the error message and error log to stop WSOD and other issues caused by that to keep sites functional while code contributors are informed that they have to change their Argument given from Array to string in future updates. As explained in the patch code comments.
@all: Updated patch #41
- Shorter error message.
- Removed $uid = 0 from message array, which I added accidentally from something I mixed up in my head with error message options. Interesting enough that it has passed the text successfully, doah.
- Added change record handling if NULL to kindof fulfill suggestion in #35 ✨ Add Exception for TypeError Argument must be String in \Drupal\Component\Utility\Html escape{} Needs work point 1. Didn't found chang erecord for new Array handling, so I think it is a PHP change only?
- Status changed to Needs work
over 1 year ago 3:27pm 7 August 2023 - 🇺🇸United States smustgrave
Putting into NW while this is being worked on. Great work!
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Still trying to make error message better and consistent to similar Drupal error messages in core. And I think I am a step further for now. :)
Apart from that, do we have a better method to convert/pass invalid Array to htmlspecialchars() than to use "string" which simply returns "Array"? Would like to hear thoughts on this (please note this is for an upcoming Exception to keep being executable while informing that it needs to be fixed).
My suggestion for the Exception discussed in Slack and here is:
namespace \Drupal\Component\Utility\Html InvalidArgumentException extends Exception {} ...
This way we can use it for other places in Html.php where we maybe run into the same issue.
- last update
over 1 year ago 30,341 pass - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Queued for testing ...
- 🇫🇷France Chris64 France
@diqidoq, to follow idea #40 I1 and answer to #41.
- Q1:
No, the handling of if NULL is fine like it is IMHO since it doesn't cause issues like if Array does.
Not to change the handling of if NULL, but to to mimic handling of if Array on it. May be it doesn't cause issues like if Array does. You you are sure of that. Personally I don't know that, but when I see such a message I think it will be fatal.
- Q2:To be more explicit, in FormattableMarkup::placeholderFormat,
protected static function placeholderFormat($string, array $args) { // Transform arguments before inserting them. foreach ($args as $key => $value) { if (is_null($value)) { // It's probably a bug to provide a null value for the placeholder arg, // and in D11 this will no longer be allowed. When this trigger_error // is removed, also remove isset $value checks inside the switch{} // below. @trigger_error(sprintf('Deprecated NULL placeholder value for key (%s) in: "%s". This will throw a PHP error in drupal:11.0.0. See https://www.drupal.org/node/3318826', (string) $key, (string) $string), E_USER_DEPRECATED); $value = ''; } switch ($key[0]) {
with no return after the warning message. Hence no stop here. Maybe after, to do it as you said. (But here, the error is corrected, hence no reason to stop the process. Correction could be an other solution to avoid WSOD or other error.)
Yes, there is a big difference between Array and NULL:easy to convert NULL to a valid string (
$value = '';
), but generally no such a thing exists for an Array.Your approach sends a message from the place of the fatal error. Upper information could be useful. It is the idea of a similar message from
FormattableMarkup::placeholderFormat
as done for if NULL (but with no correction and no stop).To be more explicit, the goal of this other message, i.e. in
placeholderFormat
, is to get an information upper. If M is a message, indices 0 forplaceholderFormat
, 1 forescape
, warning messages sequences M1, M0 or M0 M1 have not the same meaning. Maybe be wrong, but I believe that M0 M1 will be obtained. - Status changed to Needs review
over 1 year ago 10:13am 13 August 2023 - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
@Chris64: Thanks for trying to explain your thoughts further more. I am still not sure if I got it all 100% on a rush (on the road) here yet, since we both do not talk in native tongue here but ta least your try to point "a level up" before we go down to Html:escape has reeached me :) and makes absolutely sense to consider. Put it on needs review for more thoughts on it.
- 🇫🇷France Chris64 France
@diqidoq, yes indeed. A problem is the gap between the bug and its source, and a goal is to identify the source.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
and a goal is to identify the source.
Yes and no, again: Yes because (look at the second commented out part of the patch) and no because: the sources are different for the same error and will not be handled in this issue. This issue here (for now) only tries to cover a new core behaviour/ or "handling" in any case of when the error occures to keep sites functional. F.e. to prevent WSOD and similar.
- Status changed to Needs work
about 1 year ago 5:50pm 26 August 2023 - 🇺🇸United States smustgrave
So I don't think we can include that dpm() and devel stuff in code. Maybe could be recommended in the change record.
Would look at other trigger_errors in core for word pattern to sue.
- 🇮🇳India Namisha Jadhav
By applying patch #43 → I am getting below error
"Passing Argument of Type Array to Drupal\Component\Utility\Html::escape will trigger a PHP TypeError in drupal:9.5.7 and higher. Pass a string instead. See https://www.drupal.org/node/3352384 → for more. To find out more about the Array given instead of String, use var_dump() or Devel dpm() by uncommenting line 440-447 in \Drupal\Component\Utility\Html.php."
Also there are multiple warnings displayed in logs as follows:
"Warning: Array to string conversion in Drupal\Component\Utility\Html::escape() (line 451 of /var/www/mis/docroot/core/lib/Drupal/Component/Utility/Html.php)" - 🇮🇳India Namisha Jadhav
Please find below screenshot after uncommenting the given lines above:
array(21) { [0]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(29) "web/AYBYsubmissions/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [1]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(16) "web/OK/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [2]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(22) "web/OKsweeps/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [3]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(23) "web/PoGCovers/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [4]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(26) "web/RollerSweeps/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [5]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(27) "web/albumplayback/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [6]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(33) "web/anniversarygiveaway/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [7]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(27) "web/coloringpages/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [8]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(21) "web/connect/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [9]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(34) "web/flexiPicturesofGirls/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [10]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(23) "web/headcount/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [11]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(18) "web/help/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [12]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(26) "web/mailing-list/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [13]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(19) "web/music/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [14]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(33) "web/nothinghappensgame/index.html" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [15]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(22) "web/playlist/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [16]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(31) "web/playlistgenerator/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [17]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(42) "web/pleaserliveatatlanticstudios/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [18]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(18) "web/tour/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [19]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(20) "web/videos/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [20]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(18) "web/vote/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } } array(21) { [0]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(29) "web/AYBYsubmissions/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [1]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(16) "web/OK/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [2]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(22) "web/OKsweeps/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [3]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(23) "web/PoGCovers/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [4]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(26) "web/RollerSweeps/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [5]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(27) "web/albumplayback/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [6]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(33) "web/anniversarygiveaway/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [7]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(27) "web/coloringpages/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [8]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(21) "web/connect/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [9]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(34) "web/flexiPicturesofGirls/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [10]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(23) "web/headcount/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [11]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(18) "web/help/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [12]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(26) "web/mailing-list/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [13]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(19) "web/music/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [14]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(33) "web/nothinghappensgame/index.html" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [15]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(22) "web/playlist/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [16]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(31) "web/playlistgenerator/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [17]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(42) "web/pleaserliveatatlanticstudios/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [18]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(18) "web/tour/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [19]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(20) "web/videos/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } [20]=> array(2) { [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(18) "web/vote/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } } array(6) { ["title"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2469 (5) { ["string":protected]=> string(32) "Pushing changes to production..." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["operations"]=> array(0) { } ["init_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2474 (5) { ["string":protected]=> string(12) "Preparing..." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["progress_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2384 (5) { ["string":protected]=> string(41) "Processed @current out of @total changes." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["error_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#1845 (5) { ["string":protected]=> string(40) "An error occurred while pushing changes." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["finished"]=> string(63) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitCommitChanges" } array(6) { ["title"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2469 (5) { ["string":protected]=> string(32) "Pushing changes to production..." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["operations"]=> array(0) { } ["init_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2474 (5) { ["string":protected]=> string(12) "Preparing..." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["progress_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2384 (5) { ["string":protected]=> string(41) "Processed @current out of @total changes." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["error_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#1845 (5) { ["string":protected]=> string(40) "An error occurred while pushing changes." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["finished"]=> string(63) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitCommitChanges" } The website encountered an unexpected error. Please try again later.
- 🇫🇷France Chris64 France
Thank you @Namisha Jadhav for the information. Well. To big. Could you cut your message? I think it is better. Hereafter a summary of the message. In this way your information is preserved. No stack trace? Like in #6 ✨ Add Exception for TypeError Argument must be String in \Drupal\Component\Utility\Html escape{} Needs work .
A look at the message shows some repeats: 2x2 + 2x2 + 1: two double blocs plus a comment. Arrays of size 21 and 6. For a better reading only 1 element of the first bloc and the second bloc are given. The elements are different only by the associate
index
file.array(21) { [0]=> array(2){ [0]=> string(60) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitAddChanges" [1]=> array(4) { [0]=> string(29) "web/AYBYsubmissions/index.php" [1]=> object(GitWrapper\GitWorkingCopy)#2283 (3) { ["cloned":"GitWrapper\GitWorkingCopy":private]=> NULL ["directory":"GitWrapper\GitWorkingCopy":private]=> string(21) "/efs/wallowsmusic-com" ["gitWrapper":"GitWrapper\GitWorkingCopy":private]=> object(GitWrapper\GitWrapper)#2373 (5) { ["gitBinary":"GitWrapper\GitWrapper":private]=> string(12) "/usr/bin/git" ["timeout":"GitWrapper\GitWrapper":private]=> int(700) ["env":"GitWrapper\GitWrapper":private]=> array(3) { ["GIT_SSH"]=> string(63) "/var/www/mis/vendor/cpliakas/git-wrapper/bin/git-ssh-wrapper.sh" ["GIT_SSH_KEY"]=> string(48) "/var/mis/..2023_11_24_05_35_54.2659517321/id_rsa" ["GIT_SSH_PORT"]=> int(22) } ["outputEventSubscriber":"GitWrapper\GitWrapper":private]=> NULL ["eventDispatcher":"GitWrapper\GitWrapper":private]=> object(Symfony\Component\EventDispatcher\EventDispatcher)#2459 (3) { ["listeners":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["sorted":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } ["optimized":"Symfony\Component\EventDispatcher\EventDispatcher":private]=> array(0) { } } } } [2]=> string(16) "wallowsmusic-com" [3]=> string(4) "7722" } } ...
array(6) { ["title"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2469 (5) { ["string":protected]=> string(32) "Pushing changes to production..." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["operations"]=> array(0) { } ["init_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2474 (5) { ["string":protected]=> string(12) "Preparing..." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["progress_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#2384 (5) { ["string":protected]=> string(41) "Processed @current out of @total changes." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["error_message"]=> object(Drupal\Core\StringTranslation\TranslatableMarkup)#1845 (5) { ["string":protected]=> string(40) "An error occurred while pushing changes." ["arguments":protected]=> array(0) { } ["translatedMarkup":protected]=> NULL ["options":protected]=> array(0) { } ["stringTranslation":protected]=> NULL } ["finished"]=> string(63) "\Drupal\mis_git\Form\PushSiteChangesForm::batchGitCommitChanges" }
The website encountered an unexpected error. Please try again later.
Object exists 63 = 3x21 in the first bloc and 4 in the second. Their types are,object(GitWrapper\GitWorkingCopy) object(GitWrapper\GitWrapper) object(Symfony\Component\EventDispatcher\EventDispatcher)
object(Drupal\Core\StringTranslation\TranslatableMarkup)
What to said about this? Nothing to do here. The last object type look like a
toString()
missing. The stack trace is necessary to know what's happened before. There is some thing wrong somewhere. This kind of problem should be prevent and cut off. I think before in the code. - 🇺🇸United States cosmicdreams Minneapolis/St. Paul
Hello all, I found this issue while trying to understand the issues I'm having throughout my site's use of text editors and why it is no longer filtering out spaces ( ).
I think most of the issue I'm seeing can be explained by this discovery, documented https://www.drupal.org/project/drupal/issues/3409587#comment-15366524 🐛 [10.2 regression] RSS feeds invalid due to Fixed
an excerpt:
Drupal 10.1:
print \Drupal\Component\Utility\Html::normalize("<p> </p>"); <p> </p> print \Drupal\Component\Utility\Html::normalize("<p>\xc2\xa0</p>"); <p> </p>
Drupal 10.2:
print \Drupal\Component\Utility\Html::normalize("<p> </p>"); <p> </p> print \Drupal\Component\Utility\Html::normalize("<p>\xc2\xa0</p>"); <p> </p>
So now I'm looking for any issue that might seek to address this issue in Html::normalize and I found this issue.
Are you aware of this issue?
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
@Chris64 and others: Sorry that I lost track of this issue while being busy and on business travel. Will hopefully get back on it soon. Thanks for the link @cosmicdreams, will take a look.
- 🇷🇴Romania bbu23
Hi,
I'm using Drupal 11.0.0-beta1, I installed only a few modules. Sometimes I get the following error that looks similar:
The website encountered an unexpected error. Try again later. TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/html/web/core/lib/Drupal/Core/Utility/LinkGenerator.php on line 198 in Drupal\Component\Utility\Html::escape() (line 431 of core/lib/Drupal/Component/Utility/Html.php). Drupal\Core\Utility\LinkGenerator->doGenerate() (Line: 180) Drupal\Core\Utility\LinkGenerator->generate() (Line: 102) Drupal\Core\Render\Element\Link::preRenderLink() call_user_func_array() (Line: 107) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 825) Drupal\Core\Render\Renderer->doCallback() (Line: 387) Drupal\Core\Render\Renderer->doRender() (Line: 203) Drupal\Core\Render\Renderer->render() (Line: 970) Drupal\views\Plugin\views\field\EntityField->render_item() (Line: 259) Drupal\search_api\Plugin\views\field\SearchApiEntityField->render_item() (Line: 1214) Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (Line: 231) template_preprocess_views_view_field() call_user_func_array() (Line: 261) Drupal\Core\Theme\ThemeManager->render() (Line: 446) Drupal\Core\Render\Renderer->doRender() (Line: 203) Drupal\Core\Render\Renderer->render() (Line: 1796) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 767) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 107) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 825) Drupal\Core\Render\Renderer->doCallback() (Line: 387) Drupal\Core\Render\Renderer->doRender() (Line: 203) Drupal\Core\Render\Renderer->render() (Line: 706) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 572) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 460) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2177) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1592) Drupal\views\ViewExecutable->render() (Line: 201) Drupal\views\Plugin\views\display\Page->execute() (Line: 1689) Drupal\views\ViewExecutable->executeDisplay() (Line: 81) Drupal\views\Element\View::preRenderViewElement() call_user_func_array() (Line: 107) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 825) Drupal\Core\Render\Renderer->doCallback() (Line: 387) Drupal\Core\Render\Renderer->doRender() (Line: 203) Drupal\Core\Render\Renderer->render() (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 231) Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() (Line: 246) Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206) Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56) Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 188) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 705) Drupal\Core\DrupalKernel->handle() (Line: 19)
it appeared a bit random initially, but this last time it even blocked me from saving a newly created Views page. After saving the Views page with JS disabled, when trying to access the page, I get the above error.
If I dump the$variables
in theUtility/LinkGenerator.php
I can see that the link is intended for a taxonomy term, and the text seems to be null:
- 🇺🇸United States joshuautley
I found this issue with a fresh install of Drupal 11.0.4 running PHP 8.3.8.
When the "Sender name" and/or "Subject" input field(s) are disabled under "Manage Form Display," an error is triggered after submitting a custom Contact form (core module).
Thank you to everyone who's working towards core solutions.
-------- Begin ERROR ---------------------
The website encountered an unexpected error. Try again later.
TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /chroot/home/plhscentenial/plhs100.com/html/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 256 in Drupal\Component\Utility\Html::escape() (line 431 of core/lib/Drupal/Component/Utility/Html.php).
Drupal\Component\Render\FormattableMarkup::placeholderEscape() (Line: 205)
Drupal\Component\Render\FormattableMarkup::placeholderFormat() (Line: 195)
Drupal\Core\StringTranslation\TranslatableMarkup->render() (Line: 15)
Drupal\Core\StringTranslation\TranslatableMarkup->__toString() (Line: 142)
contact_mail()
call_user_func_array() (Line: 407)
Drupal\Core\Extension\ModuleHandler->invoke() (Line: 273)
Drupal\Core\Mail\MailManager->doMail() (Line: 181)
Drupal\Core\Mail\MailManager->Drupal\Core\Mail\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 180)
Drupal\Core\Mail\MailManager->mail() (Line: 114)
Drupal\contact\MailHandler->sendMailMessages() (Line: 223)
Drupal\contact\MessageForm->save()
call_user_func_array() (Line: 105)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 43)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 589)
Drupal\Core\Form\FormBuilder->processForm() (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 92)
Drupal\contact_storage\ContactFormViewBuilder->view() (Line: 45)
Drupal\contact_storage\Controller\ContactStorageController->contactSitePage()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)------------ End ERROR ----------------
Additional gripe: collecting the first and last names separately for later use as Dear [first_name] is common. Collecting the full sender name as a single input is not required. Additionally, being unable to alter the label of the default "Sender email" within the "Manage fields" display is not ideal, as most people are used to seeing "Email Address" as the label.
Related Issue: https://www.drupal.org/project/drupal/issues/2753253 →
Regarding sending as HTML under "Contact settings", there are instructions that we need to use Swiftmailer, which is the only module Drupal has tested. However, if a person visits the Swiftmailer module project page, they will find that the module is not supported due to a security issue.
https://www.drupal.org/sa-contrib-2024-006 →
I realize I'm describing a few issues here and that they should be addressed separately. My apologies. However, with the issue queues showing little to no activity or progress towards solutions on Contact form specific problems, I feel it's good to list these issues here in the hopes that someone can escalate the need for attention regarding a most basic yet complex feature of the Internet (contact forms).
- 🇪🇸Spain enchufe Spain
I had a similar error:
[error] TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/html/xyz/docroot/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 256 in Drupal\Component\Utility\Html::escape() (line 431 of /var/www/html/xyz/docroot/core/lib/Drupal/Component/Utility/Html.php)
That I solved with this patch, if it helps anyone.