-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Predis\Response\ServerException thrown with message "WRONGTYPE Operation against a key holding the wrong kind of value" #44
Comments
Yes, I did too PHP 7.4.1 (cli) (built: Dec 18 2019 14:44:04) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.1, Copyright (c), by Zend Technologies Laravel Laravel Framework 6.17.1 laravel-visits awssat/laravel-visits 2.2.0 [2020-03-06 21:40:10] local.ERROR: WRONGTYPE Operation against a key holding the wrong kind of value {"exception":"[object] (Predis\\Response\\ServerException(code: 0): WRONGTYPE Operation against a key holding the wrong kind of value at /var/www/html/LaravelCode/vendor/predis/predis/src/Client.php:370) |
same issue |
Hello, If you have the ability to try PHPredis instead of predis, will this issue disappear or keep happening ? (reference: https://laravel.com/docs/7.x/redis#phpredis |
@abdumu YES, Change to predis, this problem disappear |
I couldn't reproduce the error, but i made changes for the next version that might fix this error which is predis vs phpredis method signature difference. I will close this and if it's not fixed in the next release, then you can re open it. thanks |
i have the same problem,look forward to a quicker resolution,thanks |
Hi! I had the same issue maybe with the empty referers. If I not use refs(), the error disappears.
|
I'm not use refer ,visits($project)->increment(1,false,['refer']);but it can't issue this problem |
What version of laravel-visits you are using? |
"awssat/laravel-visits": "^2.0" |
"awssat/laravel-visits": "^2.2",
bsh <[email protected]> 于2020年4月28日周二 下午9:29写道:
… "awssat/laravel-visits": "^2.0"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE7T5AXZ54JI44AQQB4GWJDRO3K3ZANCNFSM4K74FIRA>
.
|
Replace phpredis |
原来如此,换phpredis搞定,thanks |
This wasn't solved, opened again for more debugging... |
This is also happens on version 1.5.3. |
I think I can report that this issue appears to have been resolved in the newer versions. I am currently using the latest version on production and I have not experienced the issue. I will close this issue, but I will reopen it if someone else reports that they are still experiencing the issue with the newer versions. |
Description:
Predis\Response\ServerException thrown with message "WRONGTYPE Operation against a key holding the wrong kind of value"
The text was updated successfully, but these errors were encountered: