After updating to 1.8 with Drupal 10.3.5

Created on 16 September 2024, 3 months ago

Problem/Motivation

Module generates general exception

Steps to reproduce

Update to 1.8 with Drupal 10.3.5

 Uncaught Error: Call to a member function addPostTransactionCallback() on bool in /var/www/html/web/modules/contrib/redis/src/Cache/CacheBase.php:162
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Core/Cache/ChainedFastBackend.php(198): Drupal\redis\Cache\CacheBase->deleteMultiple(Array)
#1 /var/www/html/web/core/lib/Drupal/Core/Cache/CacheCollector.php(247): Drupal\Core\Cache\ChainedFastBackend->delete('state')
#2 /var/www/html/web/core/lib/Drupal/Core/State/State.php(171): Drupal\Core\Cache\CacheCollector->updateCache(true)
#3 /var/www/html/web/core/lib/Drupal/Core/State/State.php(123): Drupal\Core\State\State->updateCache()
#4 /var/www/html/web/core/lib/Drupal/Core/Routing/MatcherDumper.php(181): Drupal\Core\State\State->set('routing.menu_ma...', Array)
#5 /var/www/html/web/core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php(84): Drupal\Core\Routing\MatcherDumper->dump(Array)
#6 /var/www/html/web/core/lib/Drupal/Core/Routing/RouteBuilder.php(194): Drupal\Core\ProxyClass\Routing\MatcherDumper->dump()
#7 /var/www/html/web/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php(83): Drupal\Core\Routing\RouteBuilder->rebuild()
#8 /var/www/html/web/core/includes/common.inc(485): Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild()
#9 /var/www/html/web/core/includes/utility.inc(41): drupal_flush_all_caches(Object(Drupal\Core\DrupalKernel))
#10 /var/www/html/vendor/drush/drush/src/Commands/core/CacheRebuildCommands.php(70): drupal_rebuild(Object(Composer\Autoload\ClassLoader), Object(Symfony\Component\HttpFoundation\Request))
#11 [internal function]: Drush\Commands\core\CacheRebuildCommands->rebuild(Array)
#12 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array(Array, Array)
#13 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#14 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#15 /var/www/html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(391): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#16 /var/www/html/vendor/symfony/console/Command/Command.php(326): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))    
#22 /var/www/html/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run(Array)
#23 /var/www/html/vendor/drush/drush/drush(4): require('/var/www/html/v...')
#24 /var/www/html/vendor/bin/drush(119): include('/var/www/html/v...')
#25 {main}
  thrown in /var/www/html/web/modules/contrib/redis/src/Cache/CacheBase.php on line 162

Fatal error: Uncaught Error: Call to a member function addPostTransactionCallback() on bool in /var/www/html/web/modules/contrib/redis/src/Cache/CacheBase.php on line 162

Error: Call to a member function addPostTransactionCallback() on bool in /var/www/html/web/modules/contrib/redis/src/Cache/CacheBase.php on line 162

Call Stack:
    0.0021     377496   1. {main}() /var/www/html/vendor/bin/drush:0
    0.0023     377824   2. include('/var/www/html/vendor/drush/drush/drush') /var/www/html/vendor/bin/drush:119
    0.0025     378384   3. require('/var/www/html/vendor/drush/drush/drush.php') /var/www/html/vendor/drush/drush/drush:4
    0.0184     605008   4. Drush\Runtime\Runtime->run($argv = [0 => '/var/www/html/vendor/bin/drush', 1 => 'cr']) /var/www/html/vendor/drush/drush/drush.php:139 
    0.0186     609472   5. Drush\Runtime\Runtime->doRun($argv = [0 => '/var/www/html/vendor/bin/drush', 1 => 'cr'], $output = class Symfony\Component\Console\Out
put\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${
Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $st
yles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleS
tack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInt
erface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Comp
onent\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter 
{ ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php:40
    0.1172    2891656   6. Symfony\Component\Console\Application->run($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Sy
mfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputA
rgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private a
rray $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'cr']; prote
cted $interactive = TRUE; private array $tokens = [0 => 'cr']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { pri
vate int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Conso
le\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private S
ymfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private
 ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class 
Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter
\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php:110

Proposed resolution

Patch

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇨🇷Costa Rica emudojo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024