elephant.io icon indicating copy to clipboard operation
elephant.io copied to clipboard

Uninitialized string offset in Decoder.php on line 95

Open linhnn opened this issue 10 years ago • 1 comments

Getting this error:

PHP Notice: Uninitialized string offset: 1 in /home/chat-example/vendor/wisembly/elephant.io/src/Payload/Decoder.php on line 95

I am running example in : elephant.io/example/socket.io/1.x/receiver/client.php

linhnn avatar Oct 08 '15 03:10 linhnn

The receiver part is not properly working ATM (more a poc than anything else actually), even though there are some ideas to make it work : see #74). I wouldn't advise to use it.

From your error (And after a quick look), I guess the payload (Which is set from the read method of the Engine) is not properly received or something like that.

I'm leaving this ticket open, as this could be a hint to check how to make the reading work.

Taluu avatar Oct 08 '15 08:10 Taluu