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

PHP warning in RealTimeClient.php #49

Open
stevenspasbo opened this issue Aug 23, 2016 · 3 comments
Open

PHP warning in RealTimeClient.php #49

stevenspasbo opened this issue Aug 23, 2016 · 3 comments
Assignees
Labels

Comments

@stevenspasbo
Copy link
Collaborator

PHP Warning: Illegal string offset 'id' in vendor/coderstephen/slack-client/src/RealTimeClient.php on line 312

@stevenspasbo stevenspasbo self-assigned this Aug 23, 2016
@chrisgillis
Copy link
Owner

Looks like its an issue with the slack client package. Can look to see if a newer tagged release or master on that project has fixed the issue and if so update composer.json

@stevenspasbo
Copy link
Collaborator Author

I'm pretty sure it's coming from SlackRTMClient.php, but I haven't done much investigating.

@stevenspasbo
Copy link
Collaborator Author

Adding more details:

PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Error creating resource: [message] fopen(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname [file] /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 282 [message] fopen(https://slack.com/api/im.open): failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname [file] /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 282' in /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php:222 Stack trace: #0 /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(286): GuzzleHttp\Handler\StreamHandler->createResource(Object(Closure)) #1 /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(52): GuzzleHttp\Handler\StreamHandler->createStream(Object(GuzzleHttp\Psr7\Request), Array) #2 /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Pre in /home/slackwolf/slackwolf/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php on line 65

I'll look into this more this weekend.

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

No branches or pull requests

2 participants