On Nov 3, 10:44 am, psybear83 <[email protected]> wrote:
> Hey guys
>
> I've implemented a blackhole in my AppController:
>
> function blackHole($controller, $error) {
>   trigger_error(__('You have been black holed because something went
> horribly wrong!', true), E_USER_WARNING);
>   die;
>
> }
>
> Sadly I'm getting a "Missing argument 2 for
> AppController::blackHole()" when the blackHole is called, but
> according to this document my method signature should be valid?!

Does your method signature match that of the method you're overriding

AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to