Have you seen this lovely error while working in Laravel?
Method Illuminate\\View\\View::__toString() must not throw an exception
I have s
a similar error is:
FatalErrorException in FooController.php line 0: Method App\Models\Foo::__toString() must not throw an exception
and it was just a bad assignment: $foo.= new Foo;
$foo.= new Foo;
instead of: $foo = new Foo;
$foo = new Foo;