problem in InvalidImageFileException exception
There is a file
property in InvalidImageFileException
that is the invalid image file! that's ok, BUT
this property override PHP's Exception file
property! and when someone tries to use __toString
, it throws:
PHP Recoverable fatal error: Object of class packages\base\IO\file\local could not be converted to string in /this/is/the/path/of/file.php on line NUMBER