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

Cannot upgrade GuzzleHttp to 6.5.0 #261

Closed
4 of 5 tasks
ghnp5 opened this issue Dec 10, 2019 · 2 comments
Closed
4 of 5 tasks

Cannot upgrade GuzzleHttp to 6.5.0 #261

ghnp5 opened this issue Dec 10, 2019 · 2 comments

Comments

@ghnp5
Copy link

ghnp5 commented Dec 10, 2019

  • I have read the README entirely
  • I have verified in the issues that my problem hasn't already been resolved

Setup

  • Operating System: Linux
  • PHP Version: 7.3
  • web-push-php Version: 5.2.4 latest

Problem

When upgrading to GuzzleHttp 6.5.0, the following error happens:

Uncaught Error [0]: Call to undefined method Error::getRequest()
#at /opt/app/vendor/Minishlink/WebPush/WebPush.php(180)
#0 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(203): Minishlink\WebPush\WebPush->Minishlink\WebPush{closure}(Object(Error))
#1 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(2, Object(Error), Array)
#2 /opt/app/vendor/GuzzleHttp/Promise/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}()
#3 /opt/app/vendor/GuzzleHttp/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run()
#4 /opt/app/vendor/GuzzleHttp/Handler/CurlMultiHandler.php(145): GuzzleHttp\Handler\CurlMultiHandler->tick()
#5 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute(true)
#6 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#7 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#8 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#9 /opt/app/vendor/GuzzleHttp/Promise/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#10 /opt/app/vendor/Minishlink/WebPush/WebPush.php(185): GuzzleHttp\Promise\Promise->wait()
#11 Minishlink\WebPush\WebPush->flush()

Features Used

  • VAPID Support
  • GCM API Key
  • Sending with Payload
@Gugu7264
Copy link
Contributor

I guess this issue is kinda outdated and could be closed 👀
Cannot reproduce with Guzzle 7.8.1

@ghnp5
Copy link
Author

ghnp5 commented Jun 17, 2024

Thanks. I might be fixed at this point, yeah. I don't currently have this issue.

@ghnp5 ghnp5 closed this as completed Jun 17, 2024
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