Skip to content

PHP Notice: Undefined variable: $error in Protocol.php on line 197 #137

@dartrax

Description

@dartrax

PHP Notice: Undefined variable in /Connection/Protocols/Protocol.php on line 197
The variable $error in the line throw new ConnectionFailedException("Failed to connect to host", 0, $error); was never defined.

The full stack trace, may be it reveals more bugs:

PHP Warning:  stream_socket_client(): unable to connect to ssl://xxx:993 (Network is unreachable) in xxx/imap_idle/Connection/Protocols/Protocol.php on line 192
PHP Warning:  stream_set_timeout() expects parameter 1 to be resource, bool given in xxx/imap_idle/Connection/Protocols/Protocol.php on line 194
PHP Notice:  Undefined variable: error in xxx/imap_idle/Connection/Protocols/Protocol.php on line 197

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions