Hi
-- Ive set up some custom error pages which include the main layout (including navigation) for e.g. "page not found" errors. In the header-element included I make use of a custom helper (MyTextHelper extends TextHelper).
Unfortunatley this custom helper is not used in the error page resulting in a warning "call_user_func_array() expects parameter 1 to be a valid callback".
How can I make this custom helper available on error pages?
CakePHP 2.6.4
Thanks,
Frank
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment