Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
APP crashes on error level warning, but config set to continue
  • My app keeps crashing on a warning but the config has it set to continue

    'errors' => array(
            
            // Which errors should we show, but continue execution? You can add the following:
            // E_NOTICE, E_WARNING, E_DEPRECATED, E_STRICT to mimic PHP's default behaviour
            // (which is to continue on non-fatal errors). We consider this bad practice.
            'continue_on' => array('E_NOTICE','E_WARNING','E_DEPRECATED','E_STRICT'),
            // How many errors should we show before we stop showing them? (prevents out-of-memory errors)
            'throttle' => 10,
            // Should notices from Error::notice() be shown?
            'notices' => false,
        ),


    This config file located in the right spot 'apppath/config/config.php'
  • HarroHarro
    Accepted Answer
    E_WARNING etc are PHP contants, not strings...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion