- Issue created by @maxilein
- ๐ฆ๐นAustria maxilein
also this:
Warning: Trying to access array offset on null in git_deploy_system_info_alter() (line 106 of modules/contrib/git_deploy/git_deploy.module).git_deploy_system_info_alter(Array, Object, 'module') (Line: 552) Drupal\Core\Extension\ModuleHandler->alter('system_info', Array, Object, 'module') (Line: 321) Drupal\Core\Extension\ExtensionList->doList() (Line: 155) Drupal\Core\Extension\ModuleExtensionList->doList() (Line: 283) Drupal\Core\Extension\ExtensionList->getList() (Line: 154) Drupal\update\UpdateManager->getProjects() (Line: 278) update_get_available(1) (Line: 84) Drupal\update\Form\UpdateManagerUpdate->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 536) Drupal\Core\Form\FormBuilder->retrieveForm('update_manager_update_form', Object) (Line: 284) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
- Assigned to sarwan_verma
- Issue was unassigned.
- Status changed to Needs review
9 months ago 11:52am 9 July 2024 - ๐ฎ๐ณIndia sarwan_verma
Hi @maxilein,
I have fixed this issue "Error with latest version" and also attached patch ,
kindly review and verify. - ๐ฆ๐นAustria maxilein
I haven't lรถooked at your code other than the patch, but are you sure that
... && $available[$project_name]['releases'][$upstream['last_tag']]['date']
does not need a check with isset?
- ๐ฆ๐นAustria maxilein
Tested with D 10.3.1 php 8.3 - the error is gone.
Thank you - ๐บ๐ธUnited States brad.bulger
I am getting this error on Drupal 10.3.10, PHP 8.2, Git Deploy 2.x-dev (2.5+1-dev). The patch fixes it.
- ๐บ๐ธUnited States darren oh Lakeland, Florida
darren oh โ made their first commit to this issueโs fork.
- Merge request !8Issue #3460184 by sarwan_verma: Fix undefined key error โ (Merged) created by darren oh
-
darren oh โ
committed 5dc45e93 on 8.x-2.x
Issue #3460184 by sarwan_verma: Fix undefined key error
-
darren oh โ
committed 5dc45e93 on 8.x-2.x
Automatically closed - issue fixed for 2 weeks with no activity.