Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Illegal offset type in /vendor/front/redisearch/src/Index.php on line 775 #4

Open
tsingliu449966 opened this issue Sep 30, 2021 · 3 comments

Comments

@tsingliu449966
Copy link

An error message appears when running in the php7.3
Warning: Illegal offset type in /vendor/front/redisearch/src/Index.php on line 775

@fidoboy
Copy link

fidoboy commented Oct 12, 2021

An error message appears when running in the php7.3
Warning: Illegal offset type in /vendor/front/redisearch/src/Index.php on line 775

With php8.0 it's a fatal error and crash on this same line

@fidoboy
Copy link

fidoboy commented Oct 13, 2021

Cause is when type of redisArray[$i] is an array and then it fails using it as index for newArray. The solution is add a condition with gettype() in if statement to ensure that type is valid

@wingdu
Copy link

wingdu commented Apr 15, 2022

bugfix or update availeble ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants