- Issue created by @APolitsin
- π§πͺBelgium gorkagr
Hi
Also on the UI the following error (I also have the drush one too)
Warning: Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on https://github.com/php/php-src/issues in include() (line 576 of /var/www/html/vendor/composer/ClassLoader.php). include('/var/www/html/web/core/includes/bootstrap.inc') (Line: 576) Composer\Autoload\{closure}('/var/www/html/web/modules/contrib/upgrade_status/src/ProjectCollector.php') (Line: 427) Composer\Autoload\ClassLoader->loadClass('Drupal\upgrade_status\ProjectCollector') (Line: 259) Drupal\Component\DependencyInjection\Container->createService(Array, 'upgrade_status.project_collector') (Line: 177) Drupal\Component\DependencyInjection\Container->get('upgrade_status.project_collector') (Line: 127) Drupal\upgrade_status\Form\UpgradeStatusForm::create(Object) (Line: 28) Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition('\Drupal\upgrade_status\Form\UpgradeStatusForm') (Line: 48) Drupal\Core\Controller\HtmlFormController->getFormObject(Object, '\Drupal\upgrade_status\Form\UpgradeStatusForm') (Line: 58) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627) 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: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) 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: 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: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Same versions of everything as the OP
- Status changed to Postponed
11 months ago 12:27pm 18 December 2023 - ππΊHungary GΓ‘bor Hojtsy Hungary
Users on 8.2.13 seem to experience this also outside of Upgrade Status. See https://github.com/php/php-src/issues/8251#issuecomment-1838517201 That issue has fixes to PHP itself that will be released in 8.2.14 or 8.2.15 as per the issue. Unless there is something we can fix in Upgrade Status, the only way to solve this is to wait for a corrected PHP version.
- π§πͺBelgium gorkagr
8.2.14 landed a few days ago :)
I dont know if DDEV updates php.automatically or a new release is needed, but smth for next week :)
Best
- πΉπThailand Nick Hope
I just upgraded my site from D9 to D10.2 then upgraded my DDEV PHP from 8.1 to 8.3.0. Now, when I run
ddev drush updb
, I am seeing this:[warning] Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on https://github.com/php/php-src/issues ProjectCollector.php:224
As I understand this comment, this should be fixed by PHP 8.3.1. Unfortunately my DDEV is still giving me 8.3.0 so I can't test.
- π«π·France steveoriol Grenoble π«π·
Same here : D10.2.2 and php8.2
ddev drush st
[warning] Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on https://github.com/php/php-src/issues ProjectCollector.php:224
- Status changed to Needs review
10 months ago 11:28am 10 February 2024 - π§πͺBelgium gorkagr
Just updated DDEV to latest version and it comes with php8.2.15 (and it seems with 8.3.2 too based on the changelog)
The error on the CLI is gone, and i assume any other error.
I am moving this to "needs review" but I'd say that we can change it to "Fixed" and close the issue if more ppl have the msg gone
- πΉπThailand Nick Hope
Same here. I updated DDEV and it gave me PHP 8.3.2 and now the warning has gone.
- Status changed to Fixed
9 months ago 2:41pm 13 February 2024 - ππΊHungary GΓ‘bor Hojtsy Hungary
Indeed, this is not something we can do anything about. Thanks for confirming!
Automatically closed - issue fixed for 2 weeks with no activity.