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

before_upload callback not working in S3Client->upload() #334

Closed
dcro opened this issue Aug 15, 2014 · 1 comment
Closed

before_upload callback not working in S3Client->upload() #334

dcro opened this issue Aug 15, 2014 · 1 comment
Labels
bug This issue is a bug.

Comments

@dcro
Copy link

dcro commented Aug 15, 2014

If the before_upload callback is used in the options object that's passed to S3Client->upload(), PHP will crash with the following error:

Fatal error: Call to undefined method Guzzle\Service\Resource\Model::getEventDispatcher() in /cluster-controller/app/lib/vendor/aws/aws-sdk-php/src/Aws/S3/S3Client.php on line 522
@jeremeamia jeremeamia added the bug label Aug 20, 2014
jeremeamia added a commit that referenced this issue Aug 20, 2014
@jeremeamia
Copy link
Contributor

Thanks for letting us know about this. I just pushed a fix to master that will be included in the next tagged release.

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

No branches or pull requests

2 participants