[Solar-talk] fatal error on no view
Antti Holvikari
anttih at gmail.com
Tue Jul 17 06:44:12 CDT 2007
On 7/17/07, Jeff Surgeson <solar at 3hex.com> wrote:
> Accidentally ran a controller action which did not have an associated view and
> got the following notice and fatal error, is this me or Solar, the chances in
> a live environment of there not being an associated view is unlikely but
> thought that it should do something other than throw a fatal error?
>
> Notice: Array to string conversion
> in /var/www/localhost/htdocs/libsvn/Solar/Locale.php on line 262
>
> Fatal error: Method Solar_Http_Response::__toString() must not throw an
> exception in /var/www/localhost/htdocs/libsvn/Solar/Controller/Front.php on
> line 192
Paul, is this the third time? ;-)
Jeff, fatal error is because headers have been sent because of the
Notice and there is an exception thrown in __toString(). Which sucks.
Don't know about the view/error behavior, though.
--
Antti Holvikari
More information about the Solar-talk
mailing list