Hey everyone,
after upgrading services on my server i got error like in topic.
PHP Deprecated Message Function Redis::setTimeout() is deprecatedError at
app/Tygh/Backend/Session/Redis.php, line: 238Backtrace
File: app/Tygh/Backend/Session/Redis.php
Line: 238
Function: {closure}
File: app/Tygh/Backend/Session/Redis.php
Line: 116
Function: query
File: app/Tygh/Web/Session.php
Line: 606
Function: write
File: app/Tygh/Web/Session.php
Line: 720
Function: save
File: app/Tygh/Web/Session.php
Line: 458
Function: write
File: app/controllers/common/auth.php
Line: 51
Function: regenerateID
File: app/functions/fn.control.php
Line: 665
Function: include
File: app/functions/fn.control.php
Line: 423
Function: fn_run_controller
File: adminul.php
Line: 27
Function: fn_dispatch
PHP Deprecated
Message
Function Redis::setTimeout() is deprecatedError at
app/Tygh/Backend/Session/Redis.php, line: 238Backtrace
File: app/Tygh/Backend/Session/Redis.php
Line: 238
Function: {closure}
File: app/Tygh/Backend/Session/Redis.php
Line: 119
Function: query
File: app/Tygh/Web/Session.php
Line: 606
Function: write
File: app/Tygh/Web/Session.php
Line: 720
Function: save
File: app/Tygh/Web/Session.php
Line: 458
Function: write
File: app/controllers/common/auth.php
Line: 51
Function: regenerateID
File: app/functions/fn.control.php
Line: 665
Function: include
File: app/functions/fn.control.php
Line: 423
Function: fn_run_controller
File: adminul.php
Line: 27
Function: fn_dispatch
I presume it's related to new version of Redis-Server where setTimeout() is deprecated.
To repair this problem you need change in app/Tygh/Backend/Session/Redis.php two line 116 and 119 and replace "setTimeout" to "expire"
after this all you need to do is refresh site.
When this will be implemented in official release ?