with a 'standard' install of D11,
drush status | grep version
Drupal version : 11.1.0
PHP version : 8.4.2
Drush version : 13.3.3.0
where
drush pm:list | grep -i enabled
Core Announcements (announcements_feed) Enabled 11.1.0
Core Automated Cron (automated_cron) Enabled 11.1.0
Core BigPipe (big_pipe) Enabled 11.1.0
Core Block (block) Enabled 11.1.0
Core Block Content (block_content) Enabled 11.1.0
Core Breakpoint (breakpoint) Enabled 11.1.0
Core CKEditor 5 (ckeditor5) Enabled 11.1.0
Core Comment (comment) Enabled 11.1.0
Core Configuration Manager (config) Enabled 11.1.0
Core Contact (contact) Enabled 11.1.0
Core Contextual Links (contextual) Enabled 11.1.0
Field types Datetime (datetime) Enabled 11.1.0
Core Database Logging (dblog) Enabled 11.1.0
Core Internal Dynamic Page Cache (dynamic_page_cache) Enabled 11.1.0
Core Text Editor (editor) Enabled 11.1.0
Core Field (field) Enabled 11.1.0
Core Field UI (field_ui) Enabled 11.1.0
Field types File (file) Enabled 11.1.0
Core Filter (filter) Enabled 11.1.0
Core Help (help) Enabled 11.1.0
Core History (history) Enabled 11.1.0
Field types Image (image) Enabled 11.1.0
Field types Link (link) Enabled 11.1.0
Core Custom Menu Links (menu_link_content) Enabled 11.1.0
Core Menu UI (menu_ui) Enabled 11.1.0
Core MySQL (mysql) Enabled 11.1.0
Core Node (node) Enabled 11.1.0
Field types Options (options) Enabled 11.1.0
Core Internal Page Cache (page_cache) Enabled 11.1.0
Core Path (path) Enabled 11.1.0
Core Path alias (path_alias) Enabled 11.1.0
Core Search (search) Enabled 11.1.0
Core Shortcut (shortcut) Enabled 11.1.0
Core System (system) Enabled 11.1.0
Core Taxonomy (taxonomy) Enabled 11.1.0
Field types Text (text) Enabled 11.1.0
Core Toolbar (toolbar) Enabled 11.1.0
Core Update Manager (update) Enabled 11.1.0
Core User (user) Enabled 11.1.0
Core Views (views) Enabled 11.1.0
Core Views UI (views_ui) Enabled 11.1.0
Core Claro (claro) Enabled 11.1.0
Core Olivero (olivero) Enabled 11.1.0
site login and nav to
https://example.com/admin/config/
works.
site's functional, all admin links good.
then
composer require drupal/redis:dev-1.x
composer show | grep drupal/redis
drupal/redis dev-1.x c538120 Integration of Drupal with the Redis key-value store.
drush pm:install redis
[success] Module redis has been installed. (Permissions - Configure)
drush cr
[success] Cache rebuild complete.
valkey-cli --version
valkey-cli 8.0.1
valkey-cli -s /run/valkey/valkey.sock -n 3 keys "*"
1) "dev_pfx_:cachetags:icon_pack_collector"
2) "dev_pfx_:config:system.action.node_save_action"
3) "dev_pfx_:data:route_provider.route_load:c24...5f7"
...
291) "dev_pfx_:config:system.action.node_unpromote_action"
292) "dev_pfx_:config:taxonomy.vocabulary.tags"
293) "dev_pfx_:config:system.logging"
nav to
https://example.com/admin/config/
FAILs
The website encountered an unexpected error. Try again later.
TypeError: Cannot access offset of type Drupal\Core\StringTranslation\TranslatableMarkup in isset or empty in Drupal\update\ProjectCoreCompatibility->getPossibleCoreUpdateVersions() (line 83 of core/modules/update/src/ProjectCoreCompatibility.php).
Drupal\update\ProjectCoreCompatibility->__construct(Array, Array, Array) (Line: 106)
update_calculate_project_data(Array) (Line: 40)
update_requirements('runtime')
call_user_func_array('\update_requirements', Array) (Line: 355)
Drupal\Core\Extension\ModuleHandler->{closure:Drupal\Core\Extension\ModuleHandler::invokeAll():354}('\update_requirements', 'update') (Line: 307)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('requirements', Object) (Line: 354)
Drupal\Core\Extension\ModuleHandler->invokeAll('requirements', Array) (Line: 109)
Drupal\system\SystemManager->listRequirements() (Line: 93)
Drupal\system\SystemManager->checkRequirements() (Line: 122)
Drupal\system\Controller\SystemController->overview('system.admin_config')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)
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: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 90)
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: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
the FAIL/trace is fully reproducible here.
fwiw, UNINSTALL of redis, however, does not cure the error.
so far, the only recovery i've managed is a clean reinstall of D11; that suggests cache &/or DB settings aren't correctly cleared.
fwiw, a similar issue w/TypeError was reported here against core,
"TypeError: Cannot access offset of type Drupal\Core\StringTranslation\TranslatableMarkup in isset or empty in Drupal\update\ProjectCoreCompatibility->getPossibleCoreUpdateVersions when enabling this module"
https://www.drupal.org/project/composer_deploy/issues/3495587
🐛
fatal error on `update` module enable on composer-managed D11.1.0 instance
Active
but reassigned to `composer_deploy` module.