Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: “Clear all drivers URL” throw Redis error even though redis is neither installed or configured for Speedy

Status Resolved
Add-on / Version Speedy 1.3.2
Severity
EE Version 6.1.4

Paul Larson

Nov 04, 2021

I believe this is an old bug, but I couldn’t find a similar fix in similar tickets.

RedisException Caught

Redis server went away

user/addons/speedy/Service/Drivers/RedisDriver.php:244

Stack Trace: Please include when reporting this error

#0 user/addons/speedy/Service/Drivers/RedisDriver.php(244): Redis->scan(NULL, ‘*’)
#1 user/addons/speedy/Service/Drivers/RedisDriver.php(216): BoldMinded\Cache\Service\Drivers\RedisDriver->getIterator(’~^speedy/redis/...’)
#2 user/addons/speedy/Service/CacheBreaker.php(432): BoldMinded\Cache\Service\Drivers\RedisDriver->getItemsFromPath(‘speedy/redis/de…’)
#3 user/addons/speedy/Service/CacheBreaker.php(114): BoldMinded\Cache\Service\CacheBreaker->collectItemsFromPath(’‘)
#4 user/addons/speedy/mod.speedy.php(221): BoldMinded\Cache\Service\CacheBreaker->_breakCache()
#5 ee/legacy/libraries/Actions.php(175): Speedy->_break_cache()
#6 ee/legacy/libraries/Core.php(529): EE_Actions->__construct(true, Object(Closure))
#7 ee/legacy/controllers/ee.php(51): EE_Core->generate_action(true)
#8 [internal function]: EE->index()
#9 ee/ExpressionEngine/Core/Core.php(255): call_user_func_array(Array, Array)
#10 ee/ExpressionEngine/Core/Core.php(111): ExpressionEngine\Core\Core->runController(Array)
#11 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#12 index.php(164): require_once(’...’)
#12 index.php(164): require_once(’...’)

#1

Paul Larson

Comment has been marked private.

#2

BoldMinded (Brian)

Can you add a php file on the server with the following code in it and tell me what the result is.

<?php

var_dump(extension_loaded('redis'));

?>
#3

BoldMinded (Brian)

What is on line 431 of Service/CacheBreaker.php?

#4

BoldMinded (Brian)

Paul, did you see these questions?

#5

Paul Larson

a) Sure! Var_dump is:

bool(true)

b) line 431 of Service/CacheBreaker.php

431 is pretty boring, but here is what is nearby:

https://www.dropbox.com/s/rzfxhmpy9mk34ys/2021-11-08_08-46-54.jpg?dl=0

#6

BoldMinded (Brian)

This is what I see on line 431, so I guess the function itself is what I’m most interested in seeing.

https://www.dropbox.com/s/o9voayymgzguzoh/ticket-2339.png?dl=0

#7

Paul Larson

Here you go

https://www.dropbox.com/s/b1hp5fmugjv2qf0/2021-11-08_09-06-56.jpg?dl=0

#8

Paul Larson

(My speedy is 1.3.2)

#9

BoldMinded (Brian)

Ok, yeah, thats an outdated file. The next comment will include the latest build, which includes the fixes from the other ticket, and should fix this issue as well.

#10

BoldMinded (Brian)

Comment has been marked private.

#11

Paul Larson

Yes that fixed it! I assume your build will become official soon-ish (on your store/EE store?)

#12

BoldMinded (Brian)

Yep, next week or so.

Login to reply