-
Notifications
You must be signed in to change notification settings - Fork 295
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
ob_end_clean(): Failed to delete buffer in Worker.php #922
Comments
Seems you sent in a PR so let's see how it goes. Thanks 👍 |
taylorotwell
pushed a commit
that referenced
this issue
Jul 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Octane Version
2.5.1
Laravel Version
10.48.15
PHP Version
8.3.8
What server type are you using?
Swoole
Server Version
5.3.1
Database Driver & Version
No response
Description
Upon sending a request to my laravel application I receive the following.
I investigated and it happens, because an another package that i use cleans the output buffer (
ob_end_clean()
) when an exception is thrown in my application (in this case a 404 Not Found exception), this means that when octane executesob_end_clean()
the output buffer is already empty, so the function produces an E_NOTICE.Steps To Reproduce
Run the
ob_end_clean()
function just before returning a response to octane.The text was updated successfully, but these errors were encountered: