No Code Attached Yet
avatar Stuartemk
Stuartemk
16 Aug 2022

Steps to reproduce the issue

Update 4.1.5 to 4.2

Expected result

Update

Actual result

An error has occurred.
0 Redis::setex(): Argument #2 ($expire) must be of type int, float given

System information (as much as possible)

Additional comments

avatar Stuartemk Stuartemk - open - 16 Aug 2022
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Aug 2022
avatar Stuartemk Stuartemk - change - 16 Aug 2022
Title
4.0 Error Update
4.0 Error Update (4.1.5 to 4.2)
avatar Stuartemk Stuartemk - edited - 16 Aug 2022
avatar richard67
richard67 - comment - 16 Aug 2022

@Stuartemk Could you enable debugging in backend (or if you can't go to the backend anymore, edit configuration.php) so you can seer the stack trace and make a screenshot of it and post it here? Thanks in advance.

avatar richard67
richard67 - comment - 16 Aug 2022

Here the update from 4.1.5 to 4.2.0 went fine. Maybe it happens only with PHP 8.1? I was on 8.0. @Stuartemk Could you provide some information on your PHP version and database type and version? Thanks in advance.

avatar alikon
alikon - comment - 16 Aug 2022

this appens when you have the cache enabled and Redis as handler

avatar richard67
richard67 - comment - 16 Aug 2022

@alikon Is it a known issue already? Or new?

avatar alikon
alikon - comment - 16 Aug 2022

new
checked on 4.1.3 and it works fine

avatar N6REJ
N6REJ - comment - 16 Aug 2022

@alikon its not based on cache or redis..
I have a bare bones 4.1.5 site with the same issue.
It states the schema is out of date but it infact is correct.
After pulling it into my *ampp I see the following....


Warning: Undefined array key 0 in E:\Bearsampp\www\bearsampp\administrator\components\com_joomlaupdate\src\Model\UpdateModel.php on line 1411

Warning: Trying to access array offset on value of type null in E:\Bearsampp\www\bearsampp\administrator\components\com_joomlaupdate\src\Model\UpdateModel.php on line 1414
avatar richard67
richard67 - comment - 16 Aug 2022

@alikon its not based on cache or redis.. I have a bare bones 4.1.5 site with the same issue. It states the schema is out of date but it infact is correct. After pulling it into my *ampp I see the following....


Warning: Undefined array key 0 in E:\Bearsampp\www\bearsampp\administrator\components\com_joomlaupdate\src\Model\UpdateModel.php on line 1411

Warning: Trying to access array offset on value of type null in E:\Bearsampp\www\bearsampp\administrator\components\com_joomlaupdate\src\Model\UpdateModel.php on line 1414

@N6REJ Did you get the error mentioned in the description of this issue, which is clearly from redis? If not, your problem is maybe a different issue?

avatar N6REJ
N6REJ - comment - 16 Aug 2022

no, not that exact error

avatar alikon alikon - change - 17 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-17 08:33:26
Closed_By alikon
avatar alikon alikon - close - 17 Aug 2022
avatar alikon
alikon - comment - 17 Aug 2022

please test #38490

avatar roland-d
roland-d - comment - 17 Aug 2022

@N6REJ The warning you get is different from the Redis issue reported here. THe warning you see is because some extension ID is not found. Sounds like a corrupt extensions table or something.

Add a Comment

Login with GitHub to post a comment