-
Notifications
You must be signed in to change notification settings - Fork 119
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
Client->Post() hangs up PHP script #32
Comments
@mfkrause Is this issue actual at the moment? |
Same problem here. PHP Notice: Undefined offset: 1 in /vagrant/vendor/edamov/pushok/src/Client.php on line 122 The following line (Client.php:117:) returns null: |
Ok the problem is related to this #7 |
This should be closed also now that #7 is fixed. |
The post() function from the Client class seems to never return anything and keeps running. I'm trying this code (not much changed from the example):
As you can see, I've put two debug echoes before and after the push() function. While the 1 gets printed, the 2 doesn't. When I try to echo $responses, I get NULL, too, so it seems like it fails to get a response from the servers.
The push notification gets sent successfully though, it's just that I can't do anything after sending the push.
The text was updated successfully, but these errors were encountered: