I'm having this error with WhoopsHandler, note that with default Cakephp 3 ErrorHandler I can see the trigger_error rised by Cell __toString() method. I'm not sure if the error is from the plugin or the Whoops library itself but I post here because is related with cakephp as well.
This error makes very hard to debug errors on Cell's templates.
To reproduce the error create a cell and on its display.ctp write the next:
<?php
$somearray = array('testing' => 'values');
// then try to echo
echo $somearray;
Some useful information about this error:
http://stackoverflow.com/questions/2429642/why-its-impossible-to-throw-exception-from-tostring
http://www.phpsadness.com/sad/14
I'm having this error with
WhoopsHandler, note that with default Cakephp 3 ErrorHandler I can see thetrigger_errorrised byCell__toString()method. I'm not sure if the error is from the plugin or the Whoops library itself but I post here because is related with cakephp as well.This error makes very hard to debug errors on Cell's templates.
To reproduce the error create a cell and on its
display.ctpwrite the next:Some useful information about this error:
http://stackoverflow.com/questions/2429642/why-its-impossible-to-throw-exception-from-tostring
http://www.phpsadness.com/sad/14