Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

Blank page at installation #228

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion app/laravel/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ public static function native($code, $error, $file, $line)
// of the exception details for the developer.
$exception = new \ErrorException($error, $code, 0, $file, $line);

if (in_array($code, Config::get('error.ignore')))
if( is_null( Config::get('error.ignore') ) )
{
$error_config = array();
}else{
$error_config = Config::get('error.ignore');
}

if (in_array($code, error_config))
{
return static::log($exception);
}
Expand Down