Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 Websockets Error
#3
Lightbulb 

(11-12-2021, 05:39 PM)kenjis Wrote: See the error message:
An error has occurred: Undefined property: Takielias\CodeigniterWebsocket\Libraries\CodeigniterWebsocket::$jwt_key

It is the reason of the error.
To fix this I had to modify in the vendor folder vendor/takielias/codeigniter4-websocket/src/Libraries/CodeigniterWebsocket.php.

And add this:
/**
     * Default jwt var
     * @var bool
*/
public $jwt_key = false;

Is there any other solutions find out ?
Thx.
Reply


Messages In This Thread
Codeigniter 4 Websockets Error - by Chrisade - 11-12-2021, 02:11 PM
RE: Codeigniter 4 Websockets Error - by kenjis - 11-12-2021, 05:39 PM
RE: Codeigniter 4 Websockets Error - by Natolive - 03-12-2024, 06:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB