Error on module update form, if update information is not available
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3261529. --> Reported by: [feyp](https://www.drupal.org/user/998680) >>> <p>If the system is in a state, where the update report shows the message <em>There was a problem getting update information. Try again later.</em> there is an error on the module update form:</p> <pre> The website encountered an unexpected error. Please try again later. TypeError: Argument 1 passed to Drupal\Core\Render\Element::children() must be of the type array, null given, called in modules/contrib/patchinfo/patchinfo.module on line 61 in Drupal\Core\Render\Element::children() (line 71 of core/lib/Drupal/Core/Render/Element.php). Drupal\Core\Render\Element::children() (Line: 61) patchinfo_form_update_manager_update_form_alter() (Line: 539) Drupal\Core\Extension\ModuleHandler-&gt;alter() (Line: 836) Drupal\Core\Form\FormBuilder-&gt;prepareForm() (Line: 279) Drupal\Core\Form\FormBuilder-&gt;buildForm() (Line: 91) Drupal\Core\Controller\FormController-&gt;getContentResult() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 573) Drupal\Core\Render\Renderer-&gt;executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 151) Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw() (Line: 68) Symfony\Component\HttpKernel\HttpKernel-&gt;handle() (Line: 57) Drupal\Core\StackMiddleware\Session-&gt;handle() (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle() (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle() (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle() (Line: 23) Stack\StackedHttpKernel-&gt;handle() (Line: 708) Drupal\Core\DrupalKernel-&gt;handle() (Line: 19) </pre>
issue