Support » Plugin: Redis Object Cache » (Again) Problems on updating to 2.1.6

  • Resolved mathse

    (@mathse)


    Hello,
    since my last problems when I updated to 2.1.1 I switched to plugin version 2.0.26.
    Today I tried again to update to the new release 2.1.6, but get the following error when updating with wp-cli:

    Anschalten des Wartungsmodus ...
    Herunterladen der Aktualisierung von https://downloads.wordpress.org/plugin/redis-cache.2.1.6.zip...
    Entpacken der aktualisierten Version ...
    Die aktuelle Version wird installiert ...
    Die alte Version des Plugins wird entfernt...
    Das Plugin wurde erfolgreich aktualisiert.
    Abschalten des Wartungsmodus ...
    [21-Jul-2022 06:37:47 UTC] PHP Fatal error:  Uncaught Error: Class "Predis\Command\KeyDelete" not found in /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Profile/RedisProfile.php:92
    Stack trace:
    #0 /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.php(323): Predis\Profile\RedisProfile->createCommand('DEL', Array)
    #1 /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.php(314): Predis\Client->createCommand('del', Array)
    #2 /var/www/html/wp-content/object-cache.php(1289): Predis\Client->__call('del', Array)
    #3 /var/www/html/wp-content/object-cache.php(96): WP_Object_Cache->delete('update_plugins', 'site-transient', 0)
    #4 /var/www/html/wp-includes/option.php(1865): wp_cache_delete('update_plugins', 'site-transient')
    #5 /var/www/html/wp-admin/includes/plugin.php(2294): delete_site_transient('update_plugins')
    #6 /var/www/html/wp-admin/includes/class-plugin-upgrader.php(361): wp_clean_plugins_cache(true)
    #7 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(430): Plugin_Upgrader->bulk_upgrade(Array)
    #8 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(661): WP_CLI\CommandWithUpgrade->update_many(Array, Array)
    #9 [internal function]: Plugin_Command->update(Array, Array)
    #10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
    #11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
    #12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
    #13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(417): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
    #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(440): WP_CLI\Runner->run_command(Array, Array)
    #15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): WP_CLI\Runner->run_command_and_exit()
    #16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
    #18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #19 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...')
    #20 /usr/local/bin/wp(4): include('phar:///usr/loc...')
    #21 {main}
      thrown in /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Profile/RedisProfile.php on line 92
    Fatal error: Uncaught Error: Class "Predis\Command\KeyDelete" not found in /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Profile/RedisProfile.php:92
    Stack trace:
    #0 /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.php(323): Predis\Profile\RedisProfile->createCommand('DEL', Array)
    #1 /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.php(314): Predis\Client->createCommand('del', Array)
    #2 /var/www/html/wp-content/object-cache.php(1289): Predis\Client->__call('del', Array)
    #3 /var/www/html/wp-content/object-cache.php(96): WP_Object_Cache->delete('update_plugins', 'site-transient', 0)
    #4 /var/www/html/wp-includes/option.php(1865): wp_cache_delete('update_plugins', 'site-transient')
    #5 /var/www/html/wp-admin/includes/plugin.php(2294): delete_site_transient('update_plugins')
    #6 /var/www/html/wp-admin/includes/class-plugin-upgrader.php(361): wp_clean_plugins_cache(true)
    #7 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(430): Plugin_Upgrader->bulk_upgrade(Array)
    #8 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(661): WP_CLI\CommandWithUpgrade->update_many(Array, Array)
    #9 [internal function]: Plugin_Command->update(Array, Array)
    #10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
    #11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
    #12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
    #13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(417): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
    #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(440): WP_CLI\Runner->run_command(Array, Array)
    #15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): WP_CLI\Runner->run_command_and_exit()
    #16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
    #18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #19 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...')
    #20 /usr/local/bin/wp(4): include('phar:///usr/loc...')
    #21 {main}
      thrown in /var/www/html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Profile/RedisProfile.php on line 92

    For now I downgraded again to 2.0.26 (as described in my previous post).
    Any ideas what is the problem here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mathse

    (@mathse)

    I have to make a little update – I just tried again to update from 2.0.26 to 2.1.6 (same error as above), but the plugin is shown as installed afterwards. Doing a

    wp redis update-dropin

    afterwards results in a working plugin (version 2.1.6) and site. Nevertheless I assume that such an error should not occur.

    Plugin Author Till Krüss

    (@tillkruess)

    Thanks for the report. I assume this was a one-off issue with having updated to 2.1.1 first and it left some artifacts on your system.

    I’ll leave this open for now to see if anyone else encounters this exact error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.