PHP 7.4 and REDIS aren't working with my install

JoyFreak

Well-known member
I've had to remove the REDIS config from config.php to get the site back online. I'm getting the errors below, any idea what this means?

Code:
[16-Sep-2020 15:39:29 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to XF\Extension::__construct() must be of the type array, bool given, called in /home/nginx/domains/joyfreak.com/public/src/XF/App.php on line 1554 and defined in /home/nginx/domains/joyfreak.com/public/src/XF/Extension.php:12
Stack trace:
#0 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(1554): XF\Extension->__construct()
#1 /home/nginx/domains/joyfreak.com/public/src/XF/Container.php(28): XF\App->XF\{closure}()
#2 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(2783): XF\Container->offsetGet()
#3 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(2811): XF\App->extension()
#4 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(1069): XF\App->extendClass()
#5 /home/nginx/domains/joyfreak.com/public/src/XF/Container.php(28): XF\App->XF\{closure}()
#6 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(2540): XF\Container->offsetGet()
#7 /home/nginx/domains/joyfreak.com/public/src/XF.php(865): XF\App->fs()
#8 /home/nginx/domains/joyfreak.com/public in /home/nginx/domains/joyfreak.com/public/src/XF/Extension.php on line 12
[16-Sep-2020 15:39:29 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to XF\Extension::__construct() must be of the type array, bool given, called in /home/nginx/domains/joyfreak.com/public/src/XF/App.php on line 1554 and defined in /home/nginx/domains/joyfreak.com/public/src/XF/Extension.php:12
Stack trace:
#0 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(1554): XF\Extension->__construct()
#1 /home/nginx/domains/joyfreak.com/public/src/XF/Container.php(28): XF\App->XF\{closure}()
#2 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(2783): XF\Container->offsetGet()
#3 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(2811): XF\App->extension()
#4 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(1069): XF\App->extendClass()
#5 /home/nginx/domains/joyfreak.com/public/src/XF/Container.php(28): XF\App->XF\{closure}()
#6 /home/nginx/domains/joyfreak.com/public/src/XF/App.php(2540): XF\Container->offsetGet()
#7 /home/nginx/domains/joyfreak.com/public/src/XF.php(865): XF\App->fs()
#8 /home/nginx/domains/joyfreak.com/public in /home/nginx/domains/joyfreak.com/public/src/XF/Extension.php on line 12
 
I have the same issue here. It is working well with 7.3 but it throws the error above with 7.4. Not sure if it is supported though.

Edit: for other readers, clean the redis database will solve the issue:

select %databasenumber
flushdb
 
Last edited:
Back
Top Bottom