Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php7.4.3 The error in the version below is reported #116

Open
ysw121512 opened this issue Nov 17, 2020 · 1 comment
Open

php7.4.3 The error in the version below is reported #116

ysw121512 opened this issue Nov 17, 2020 · 1 comment

Comments

@ysw121512
Copy link


Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 241

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 241

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 247

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 248

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 367

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 368

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 416

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 451

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 451

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 585

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 641

Deprecated: Array and string offset access syntax with curly braces is deprecated in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 643

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: ��֪������������ in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 150

Warning: stream_socket_client(): unable to connect to tcp://http://192.168.1.166:1883 (php_network_getaddresses: getaddrinfo failed: ��֪������������ ) in D:\workspace\vendor\bluerhinos\phpmqtt\phpMQTT.php on line 150
Fail or time out
@anhlephuoc
Copy link

The IP address you used (tcp://http://192.168.1.166:1883) is obviously no good. The "HTTP://" has no business being there!
The curly brace indexing is deprecated but is still usable. I assume that will be changed when the code is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants