title: Laravel Error: The Response content must be a string or object implementing __toString(), "boolean" given
body: <p>I am receiving the above error in following code and totally unable to find out real cause.</p>
  
  <pre><code>        if ($validation-&gt;fails()) {
              // if it fails...
              return Redirect::to("login")-&gt;withErrors($validation)-&gt;withInput();
          } else {
              // storing user session... if it passes...
              $username =  Input::get("username");
              Session::put("username", $username);
              return Redirect::to("/");
          }
  </code></pre>