UnexpectedValueException
…/­vendor/­symfony/­http-foundation/­Symfony/­Component/­HttpFoundation/­Response.php350
Symfony\Component\HttpFoundation\Response setContent
…/­vendor/­laravel/­framework/­src/­Illuminate/­Http/­Response.php72
Illuminate\Http\Response setContent
…/­vendor/­symfony/­http-foundation/­Symfony/­Component/­HttpFoundation/­Response.php141
Symfony\Component\HttpFoundation\Response __construct
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1334
Illuminate\Routing\Router prepare
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php156
Illuminate\Routing\Controllers\Controller processResponse
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Controllers/­Controller.php126
Illuminate\Routing\Controllers\Controller callAction
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php938
Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php80
Illuminate\Routing\Route callCallable
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php47
Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php969
Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php499
Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php474
Illuminate\Foundation\Application run
…/­public/­index.php49

UnexpectedValueException

The Response content must be a string or object implementing __toString(), "boolean" given.

     * @throws \UnexpectedValueException
     *
     * @api
     */
    public function setContent($content)
    {
        if (null !== $content && !is_string($content) && !is_numeric($content) && !is_callable(array($content, '__toString'))) {
            throw new \UnexpectedValueException(sprintf('The Response content must be a string or object implementing __toString(), "%s" given.', gettype($content)));
        }
		// render method on the object so we will avoid any "__toString" exceptions
		// that might be thrown and have their errors obscured by PHP's handling.
		elseif ($content instanceof RenderableInterface)
		{
			$content = $content->render();
		}

		return parent::setContent($content);
	}
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     *
     * @api
     */
    public function __construct($content = '', $status = 200, $headers = array())
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
	 *
	 * @param  mixed  $value
	 * @param  \Illuminate\Http\Request  $request
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function prepare($value, Request $request)
	{
		if ( ! $value instanceof SymfonyResponse) $value = new Response($value);

		return $value->prepare($request);
	protected function processResponse($router, $method, $response)
	{
		$request = $router->getRequest();

		// The after filters give the developers one last chance to do any last minute
		// processing on the response. The response has already been converted to a
		// full Response object and will also be handed off to the after filters.
		$response = $router->prepare($response, $request);

		$this->callAfterFilters($router, $method, $response);
		// used we will assume we want to just return the layout view as any nested
		// views were probably bound on this view during this controller actions.
		if (is_null($response) and ! is_null($this->layout))
		{
			$response = $this->layout;
		}

		return $this->processResponse($router, $method, $response);
	}
			// We will extract the passed in parameters off of the route object so we will
			// pass them off to the controller method as arguments. We will not get the
			// defaults so that the controllers will be able to use its own defaults.
			$args = array_values($route->getParametersWithoutDefaults());

			$instance = $ioc->make($controller);

			return $instance->callAction($ioc, $me, $method, $args);
		};
	}
<#unknown>
	 *
	 * @return mixed
	 */
	protected function callCallable()
	{
		$variables = array_values($this->getParametersWithoutDefaults());

		return call_user_func_array($this->getOption('_call'), $variables);
	}
		// We will only call the router callable if no "before" middlewares returned
		// a response. If they do, we will consider that the response to requests
		// so that the request "lifecycle" will be easily halted for filtering.
		$response = $this->callBeforeFilters($request);

		if ( ! isset($response))
		{
			$response = $this->callCallable();
		}
		// Once we have the route, we can just run it to get the responses, which will
		// always be instances of the Response class. Once we have the responses we
		// will execute the global "after" middlewares to finish off the request.
		else
		{
			$this->currentRoute = $route = $this->findRoute($request);

			$response = $route->run($request);
		}
		{
			$response = $this['events']->until('illuminate.app.down');

			return $this->prepareResponse($response, $request);
		}
		else
		{
			return $this['router']->dispatch($this->prepareRequest($request));
		}
	}
	/**
	 * Handles the given request and delivers the response.
	 *
	 * @return void
	 */
	public function run()
	{
		$response = $this->dispatch($this['request']);

		$this['router']->callCloseFilter($this['request'], $response);
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful applications we have created for them.
|
*/

$app->run();

/*
Key Value
REDIRECT_STATUS 200
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ESI 1.0, 1.0, 1.0
HTTP_X_AKAMAI_EDGESCAPE georegion=288,country_code=US,region_code=VA,city=ASHBURN,dma=511,pmsa=8840,msa=8872,areacode=703,county=LOUDOUN,fips=51107,lat=39.0438,long=-77.4879,timezone=EST,zip=20146-20149,continent=NA,throughput=vhigh,bw=5000,asnum=14618,location_id=0
HTTP_TRUE_CLIENT_IP 54.235.5.178
HTTP_X_AKAMAI_CONFIG_LOG_DETAIL true
HTTP_TE chunked;q=1.0
HTTP_CONNECTION TE, close
HTTP_ACCEPT_ENCODING gzip
HTTP_AKAMAI_ORIGIN_HOP 3
HTTP_VIA 1.0 v1-akamaitech.net(ghost) (AkamaiGHost), 1.1 v1-akamaitech.net(ghost) (AkamaiGHost), 1.1 akamai.net(ghost) (AkamaiGHost)
HTTP_X_FORWARDED_FOR 54.235.5.178, 23.62.7.31, 96.17.161.23, 209.48.37.109
HTTP_HOST www.omusicawards.com
HTTP_CACHE_CONTROL max-age=0
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at www.omusicawards.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.omusicawards.com
SERVER_ADDR 67.214.221.61
SERVER_PORT 80
REMOTE_ADDR 208.85.144.234
DOCUMENT_ROOT /home/deploy/apps/laravel/public
SERVER_ADMIN root@localhost
SCRIPT_FILENAME /home/deploy/apps/laravel/public/index.php
REMOTE_PORT 7476
REDIRECT_URL /watch/video/791592
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /watch/video/791592
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1406223826.635
REQUEST_TIME 1406223826
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [_token] => aaikqlEWIrAsfLu5jFpWFuEJQaZnts5yCsqb7yfT )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1406223826 [c] => 1406223826 [l] => 7200 )
empty
0. Whoops\Handler\PrettyPageHandler