Comments (7)
This code silences the error, not sure yet if everything still works:
if (ob_get_contents()) {
ob_flush();
}
from laravel-wave.
Hi @edalzell. Probably you have disabled output buffering on the server.
Is it works normal on a local environment?
Have you debugged what echo $this
returns at ServerSentEvent::__invoke
method?
from laravel-wave.
Hi @edalzell. Probably you have disabled output buffering on the server.
Is it works normal on a local environment? Have you debugged what
echo $this
returns atServerSentEvent::__invoke
method?
This error is occurring locally. And I didn't get it before, it's a new thing.
from laravel-wave.
But I did switch recently to Herd (from Brew/Valet), so maybe it is off? I'll check, thanks!
from laravel-wave.
Probably we have found a source, let test it on Herd.
from laravel-wave.
Confirmed, Herd does NOT have output_buffering = 4096
in its php.ini.
Sorry about the confusion.
from laravel-wave.
NP, thank you for your involvement.
from laravel-wave.
Related Issues (13)
- [Bug]: same route name error when use artisan optimize HOT 1
- [Bug]: Can't connect to private channels! HOT 5
- [Bug]: Vite exception for the new laravel npm module setup HOT 1
- [Bug]: Using Laravel Wave with the frontend in different url or port HOT 4
- [Bug]: net::ERR_HTTP2_PROTOCOL_ERROR 200 HOT 3
- [Bug]: Cors: no 'Access-Control-Allow-Origin' header is present on the requested resource. HOT 3
- [Bug]: Can't broadcast to presence channel HOT 1
- [Bug]: Unable to prepare route HOT 2
- [Bug]: Octane compatibility does not work! HOT 4
- [Bug]: Live demo has an expired SSL certificate HOT 1
- [Bug]: Not working with predis HOT 2
- No error gets thrown when the PHP Redis extension is disabled HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-wave.