Re: [SMARTY-DEV] No error message when attempting to load a non-existing prefilter

From: Date: Tue, 21 Jan 2003 21:45:39 +0000
Subject: Re: [SMARTY-DEV] No error message when attempting to load a non-existing prefilter
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-573@lists.php.net to get a copy of this message
If I try it I get an appropriate error: $smarty->register_prefilter('fooblah'); <b>Fatal error</b>: Smarty plugin error: Smarty plugin error: prefilter 'fooblah' is not implemented in <b>/export/home/staff/mohrt/www/php/test/smarty/Smarty-2.3.1/Smarty.class.php</b> on line <b>2007</b><br /> On Tue, 2003-01-21 at 15:09, Katana wrote: > Hello, > > I just spent a moment looking for the reason why I was getting a > "Fatal error: Smarty plugin error: in /usr..." > > In fact, it looks like the $message variable used by trigger_error is > empty when you attempt to load a non-existant prefilter... I think it > could easily be fixed right ? > > Katana (previously Bertrand Dunogier) -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.dev (#573) next »