Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Ignore a single error message in dev-mode

Go to End



Community Member, 33 Posts

16 September 2008 at 9:58pm

Hello there,

I wonder if it's possible to ignore a single error message, in my case it's "init() method on class 'GFUredirect_Controller' doesn't call Controller::init(). Make sure that you have parent::init() included.".
I've got a function where it's required to not call the init() function, and my problem is that this function shows me a Fatal Error when dev mode is deactivated (and it's not the parent::init() error, Silverstripe ignores that out of the dev mode) and when I activate the devel mode the script interrupts first with the parent::init() error message and I can't see what the "real" error is.

Thanks in advance