ErrorException Object
(
    [message:protected] => Undefined index: host
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/Connection.php
    [line:protected] => 204
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/Connection.php
                    [line] => 204
                    [function] => handleError
                    [class] => Illuminate\Foundation\Bootstrap\HandleExceptions
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/Connection.php
                    [line] => 228
                    [function] => getHostDsn
                    [class] => Jenssegers\Mongodb\Connection
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/Connection.php
                    [line] => 33
                    [function] => getDsn
                    [class] => Jenssegers\Mongodb\Connection
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/MongodbServiceProvider.php
                    [line] => 31
                    [function] => __construct
                    [class] => Jenssegers\Mongodb\Connection
                    [type] => ->
                )

            [4] => Array
                (
                    [function] => Jenssegers\Mongodb\{closure}
                    [class] => Jenssegers\Mongodb\MongodbServiceProvider
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
                    [line] => 130
                    [function] => call_user_func
                )

            [6] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
                    [line] => 95
                    [function] => makeConnection
                    [class] => Illuminate\Database\DatabaseManager
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 1653
                    [function] => connection
                    [class] => Illuminate\Database\DatabaseManager
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 1619
                    [function] => resolveConnection
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ::
                )

            [9] => Array
                (
                    [file] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/Eloquent/Model.php
                    [line] => 420
                    [function] => getConnection
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 1342
                    [function] => newBaseQueryBuilder
                    [class] => Jenssegers\Mongodb\Eloquent\Model
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 1378
                    [function] => newModelQuery
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 1331
                    [function] => newQueryWithoutScopes
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 2132
                    [function] => newQuery
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => /var/www/km/public_html/vendor/jenssegers/mongodb/src/Eloquent/Model.php
                    [line] => 498
                    [function] => __call
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
                    [line] => 2144
                    [function] => __call
                    [class] => Jenssegers\Mongodb\Eloquent\Model
                    [type] => ->
                )

            [16] => Array
                (
                    [file] => /var/www/km/public_html/app/Providers/AppServiceProvider.php
                    [line] => 44
                    [function] => __callStatic
                    [class] => Illuminate\Database\Eloquent\Model
                    [type] => ::
                )

            [17] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                    [line] => 36
                    [function] => boot
                    [class] => App\Providers\AppServiceProvider
                    [type] => ->
                )

            [18] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php
                    [line] => 40
                    [function] => Illuminate\Container\{closure}
                    [class] => Illuminate\Container\BoundMethod
                    [type] => ::
                )

            [19] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                    [line] => 93
                    [function] => unwrapIfClosure
                    [class] => Illuminate\Container\Util
                    [type] => ::
                )

            [20] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                    [line] => 37
                    [function] => callBoundMethod
                    [class] => Illuminate\Container\BoundMethod
                    [type] => ::
                )

            [21] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php
                    [line] => 653
                    [function] => call
                    [class] => Illuminate\Container\BoundMethod
                    [type] => ::
                )

            [22] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                    [line] => 924
                    [function] => call
                    [class] => Illuminate\Container\Container
                    [type] => ->
                )

            [23] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                    [line] => 905
                    [function] => bootProvider
                    [class] => Illuminate\Foundation\Application
                    [type] => ->
                )

            [24] => Array
                (
                    [function] => Illuminate\Foundation\{closure}
                    [class] => Illuminate\Foundation\Application
                    [type] => ->
                )

            [25] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                    [line] => 906
                    [function] => array_walk
                )

            [26] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php
                    [line] => 17
                    [function] => boot
                    [class] => Illuminate\Foundation\Application
                    [type] => ->
                )

            [27] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
                    [line] => 237
                    [function] => bootstrap
                    [class] => Illuminate\Foundation\Bootstrap\BootProviders
                    [type] => ->
                )

            [28] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                    [line] => 153
                    [function] => bootstrapWith
                    [class] => Illuminate\Foundation\Application
                    [type] => ->
                )

            [29] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                    [line] => 137
                    [function] => bootstrap
                    [class] => Illuminate\Foundation\Http\Kernel
                    [type] => ->
                )

            [30] => Array
                (
                    [file] => /var/www/km/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                    [line] => 111
                    [function] => sendRequestThroughRouter
                    [class] => Illuminate\Foundation\Http\Kernel
                    [type] => ->
                )

            [31] => Array
                (
                    [file] => /var/www/km/public_html/index.php
                    [line] => 50
                    [function] => handle
                    [class] => Illuminate\Foundation\Http\Kernel
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [severity:protected] => 8
)