LMSouq
php-dev Open

WRONGTYPE Operation against a key holding the wrong kind of value php

TR
Trushar Narodia
1 month ago
3 views
Problem Description
I am using Laravel with Redis .When I am trying to access a key by get method then get following error "WRONGTYPE Operation against a key holding the wrong kind of value" I am using following code to access the key value - I use this code for get data from redis $values = "l_messages"; $value = $redis->HGETALL($values); print($value);

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base