After installing the module on an existing D8.8.5 site and navigating to `/admin/reports/upgrade-status`, I get:

Notice: Undefined property: Drupal\Core\Extension\Extension::$status in Drupal\upgrade_status\Form\UpgradeStatusForm->buildProjectList() (line 325 of modules/contrib/upgrade_status/src/Form/UpgradeStatusForm.php).
Drupal\upgrade_status\Form\UpgradeStatusForm->buildProjectList(Array, 1) (Line: 245)
Drupal\upgrade_status\Form\UpgradeStatusForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 520)
Drupal\Core\Form\FormBuilder->retrieveForm('drupal_upgrade_status_form', Object) (Line: 277)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 91)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->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: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
CommentFileSizeAuthor
#2 3137898-2.patch673 bytesmarcoscano

Comments

marcoscano created an issue. See original summary.

marcoscano’s picture

Assigned: marcoscano » Unassigned
Status: Active » Needs review
StatusFileSize
new673 bytes

I ignore why $extension->status is not defined at this point in my site, but this fix seems reasonable and makes the error go away.

gábor hojtsy’s picture

Thanks, I believe I've seen this before. @csakiistvan reported this to me the other day and I think he tracked it down to his install profile. Maybe related to #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that. I don't know if the accurate thing then is to say its disabled or what honestly. It would definitely be better for the error to not happen for sure. I'll think about this a bit.

itamair’s picture

I am experiencing this too ...

  • Gábor Hojtsy committed d7798c2 on 8.x-2.x
    Issue #3137898 by marcoscano, csakiistvan, Gábor Hojtsy, itamair: Notice...
gábor hojtsy’s picture

Status: Needs review » Fixed
Issue tags: +Drupal 9 porting weekend

Decided to go ahead and commit this. Its a very tiny useful fix and I don't think it will do harm. If people get confused, we can figure out specific situations. Thanks all!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.