Top?
May 9, 2015
5
Level 1
Problem with Static Method Redis
So I am calling the Redis functionality inside my Laravel application. I have an environment set up on local machine and then I just set up an environment on an ubuntu openstack instance.
When I call \Redis::get('test'); it works just fine on my laptop however when I call it from my ubuntu instance I get this error message
Non-static method Redis::get() cannot be called statically, assuming $this from incompatible context
I have forced Laravel to 4.2.16 on both environments I have also confirmed I can access Redis on my laptop and ubuntu instance from both my laptop and ubuntu instance.
Any ideas would be much appreciated.
Please or to participate in this conversation.