Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

psychomantis101's avatar

Ratchet session cookie

I'm having issues getting ratchet to read my session cookie to find out if a user is logged in or not. The issue is described in this git thread here: https://github.com/ratchetphp/Ratchet/issues/726

However I'm starting to think this is more of a laravel issue rather than a ratchet issue since the guide I was using was quite dated. The fact that the error message is "An error has occurred: Trying to get property 'cookies' of non-object" when is_object returns true is baffling me. Any help would be great. Thanks.

0 likes
0 replies

Please or to participate in this conversation.