Laravel error: ob_end_flush(): failed to send buffer of zlib output compression (0)
If this type of error comes in Laravel then check your blade file for missing closing statements like @endsection or @endif etc. Usually happens because end statement is missing. You can also check this StackOverflow for more information But the answer that helped me, I found it on this