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

getting php error on closing of download #7

Open
heffthedev opened this issue Mar 31, 2021 · 0 comments
Open

getting php error on closing of download #7

heffthedev opened this issue Mar 31, 2021 · 0 comments

Comments

@heffthedev
Copy link

I'm using your class to resume an audio stream. When I close the stream, cancelling the running download, I get the following error:
PHP Fatal error: Uncaught TypeError: fclose() expects parameter 1 to be resource, int given in [....]vendor/daverandom/resume/src/FileResource.php:114
I'm running PHP 7.4.16. Did I implement your class wrong or is this something that shouldn't happen?
Thanks for your amazing work on this!

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

1 participant