E_DEPRECATED Notices in Ratchet & React — Dynamic Property Creation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Senior Member
    • Aug 2025
    • 262

    #1

    E_DEPRECATED Notices in Ratchet & React — Dynamic Property Creation

    Hi team,

    I've been seeing multiple E_DEPRECATED notices in our logs related to dynamic property creation in Ratchet and React\Socket.

    Here's a sample of what appears repeatedly:
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$httpHeadersReceived is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$resourceId is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$remoteAddress is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$httpBuffer is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$httpRequest is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$WebSocket is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$WAMP is deprecated
    NOTICE: E_DEPRECATED: Creation of dynamic property React\Socket\Connection::$decor is deprecated

    These notices are showing up constantly in production logs, which makes it difficult to spot other potential issues.

    Could anyone advise if there’s a recommended fix or update for this? Is there a timeline for addressing these deprecated dynamic properties in the library?

    Thanks in advance for any guidance!
Working...