Laravel 5.2 shows "The Response content must be a string or object implementing __toString(), "boolean" given" when I try to use DB::statement
<p>I'm trying to use DB::statement() method to run a SQL, but I can't get it to work and it shows "UnexpectedValueException in Response.php line 395:
The Response content must be a string or object implementing __toString(), "boolean" given."</p>

<p>Here's the code:</p>

<pre><code>$students = DB::statement('select stu_agency,avg(stu_rank1) as avggrade from students group by stu_agency');
return $students;
</code></pre>