The same/similar issue for us on some sites on /admin/reports/updates/settings
.
The website encountered an unexpected error. Try again later.
TypeError: Drupal\update\UpdateSettingsForm::arrayToMultiLineString(): Argument #1 ($value) must be of type array, null given, called in /path/to/drupal/web/core/lib/Drupal/Core/Form/ConfigTarget.php on line 188 in Drupal\update\UpdateSettingsForm::arrayToMultiLineString() (line 141 of core/modules/update/src/UpdateSettingsForm.php).
Drupal\Core\Form\ConfigTarget->getValue() (Line: 117)
Drupal\Core\Form\ConfigFormBase->loadDefaultValuesFromConfig() (Line: 121)
Drupal\Core\Form\ConfigFormBase->loadDefaultValuesFromConfig()
call_user_func_array() (Line: 1011)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 579)
Drupal\Core\Form\FormBuilder->processForm() (Line: 326)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
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: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 263)
Drupal\shield\ShieldMiddleware->bypass() (Line: 219)
Drupal\shield\ShieldMiddleware->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: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Hi @megachriz,
@max.valetov Thanks for spotting! I think that the issue with the "Autocreate" option should be fixed in #2973170: Importing new files fails when "Autocreate entity" option is turned on. first. I think that one is easy to do.
Not entirely sure what needs to be fixed/applied from that issue. Applying MR plain diff doesn't resolve the issue.
(Latest v3 feeds with 105 patch applied)
In #105 if (preg_match('/^Autocreate/', $line->__toString())) {
__toString doesn't seem to be a valid method on render array.
max.valetov → created an issue.
Thanks @rajab-natshah, looks like applying MR https://git.drupalcode.org/project/drupal/-/merge_requests/8546.diff from https://www.drupal.org/project/drupal/issues/3457168 🐛 Since twig/twig 3.9: error with "twig_escape_filter" function usage in /core/lib/Drupal/Core/Template/TwigExtension.php Needs work resolved the issues.
max.valetov → created an issue.
johnv → credited max.valetov → .
max.valetov → created an issue.
Fix 'non-scalar value' error - patches 21-24
Fixes patch formatting issue for patch 23
Adds a D10 session check and set for subrequest to patch 21
Adds menu title that's available via `menu_title`
max.valetov → created an issue.