(2/2) ErrorException |
---|
in Factory.php (line 134) |
at CompilerEngine->handleViewException(object(ErrorException), 1)in PhpEngine.php (line 44) |
Finally I found this line cause the problem, where the $data is an object:
@include('modules.panel', $data)I guess this require argument two as array format but it's an object, so i convert it to array and it works fine:
@include('modules.panel', (array) $data)
No comments :
Post a Comment