Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Ignore a single error message in dev-mode

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

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

Page: 1
Go to End
Author Topic: 689 Views
  • FlorianH
    Avatar
    Community Member
    33 Posts

    Ignore a single error message in dev-mode Link to this post

    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

    FlorianH

    689 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.