Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(70): PDO->__construct('mysql:host=tcel...', 'tcelaravel', 'sn0jKlT7CAFfLQT...', Array) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=tcel...', 'tcelaravel', 'sn0jKlT7CAFfLQT...', Array) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=tcel...', 'tcelaravel', 'sn0jKlT7CAFfLQT...', Array) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=tcel...', Array, Array) #4 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1181): call_user_func(Object(Closure)) #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1217): Illuminate\Database\Connection->getPdo() #8 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(486): Illuminate\Database\Connection->getReadPdo() #9 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(414): Illuminate\Database\Connection->getPdoForSelect(true) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `...', Array) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(899): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) #12 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(879): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) #15 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\Database\Connection->select('select * from `...', Array, true) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\Database\Query\Builder->runSelect() #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #18 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #19 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(710): Illuminate\Database\Query\Builder->get(Array) #20 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(694): Illuminate\Database\Eloquent\Builder->getModels(Array) #21 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\Database\Eloquent\Builder->get(Array) #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(561): Illuminate\Database\Eloquent\Builder->first() #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->firstOrCreate() #24 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2330): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'firstOrCreate', Array) #25 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2342): Illuminate\Database\Eloquent\Model->__call('firstOrCreate', Array) #26 /var/app/current/app/Models/Setting.php(27): Illuminate\Database\Eloquent\Model::__callStatic('firstOrCreate', Array) #27 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(397): App\Models\Setting::App\Models\{closure}() #28 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(408): Illuminate\Cache\Repository->remember('settings', 60, Object(Closure)) #29 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Cache\CacheManager->__call('remember', Array) #30 /var/app/current/app/Models/Setting.php(27): Illuminate\Support\Facades\Facade::__callStatic('remember', Array) #31 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(15): App\Models\Setting::settings() #32 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #33 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #34 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #35 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #36 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #37 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #38 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #39 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #40 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #41 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #42 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #43 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #44 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #45 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #46 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #47 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #49 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #50 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #51 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #52 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #53 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #54 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #55 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #56 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #57 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #58 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #59 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #60 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #61 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #62 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #63 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\View\ViewException)) #64 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\View\ViewException)) #65 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\View\ViewException)) #66 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` limit 1) in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(899): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(879): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) #4 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\Database\Connection->select('select * from `...', Array, true) #5 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\Database\Query\Builder->runSelect() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #8 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(710): Illuminate\Database\Query\Builder->get(Array) #9 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(694): Illuminate\Database\Eloquent\Builder->getModels(Array) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\Database\Eloquent\Builder->get(Array) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(561): Illuminate\Database\Eloquent\Builder->first() #12 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->firstOrCreate() #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2330): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'firstOrCreate', Array) #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2342): Illuminate\Database\Eloquent\Model->__call('firstOrCreate', Array) #15 /var/app/current/app/Models/Setting.php(27): Illuminate\Database\Eloquent\Model::__callStatic('firstOrCreate', Array) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(397): App\Models\Setting::App\Models\{closure}() #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(408): Illuminate\Cache\Repository->remember('settings', 60, Object(Closure)) #18 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Cache\CacheManager->__call('remember', Array) #19 /var/app/current/app/Models/Setting.php(27): Illuminate\Support\Facades\Facade::__callStatic('remember', Array) #20 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(15): App\Models\Setting::settings() #21 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #24 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #25 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #26 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #27 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #28 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #29 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #30 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #31 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #32 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #33 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #34 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #35 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #36 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #37 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #38 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #39 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #40 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #41 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #42 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #43 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #44 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #45 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #46 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #47 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #49 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #50 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #51 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #52 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\View\ViewException)) #53 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\View\ViewException)) #54 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\View\ViewException)) #55 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` limit 1) (View: /var/app/current/resources/views/front/layouts/main.blade.php) in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Illuminate\Database\QueryException), 2) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #4 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #5 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #8 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #9 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #12 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #15 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #18 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #19 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #20 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #21 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\View\ViewException)) #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\View\ViewException)) #24 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\View\ViewException)) #25 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` limit 1) (View: /var/app/current/resources/views/front/layouts/main.blade.php) (View: /var/app/current/resources/views/front/layouts/main.blade.php) in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Illuminate\View\ViewException), 1) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #4 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #5 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #8 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #9 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #12 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Spatie\LaravelIgnition\Exceptions\ViewException)) #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\View\ViewException)) #15 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\View\ViewException)) #16 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\View\ViewException)) #17 {main} thrown in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 760 Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(70): PDO->__construct('mysql:host=tcel...', 'tcelaravel', 'sn0jKlT7CAFfLQT...', Array) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=tcel...', 'tcelaravel', 'sn0jKlT7CAFfLQT...', Array) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=tcel...', 'tcelaravel', 'sn0jKlT7CAFfLQT...', Array) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=tcel...', Array, Array) #4 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1181): call_user_func(Object(Closure)) #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1217): Illuminate\Database\Connection->getPdo() #8 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(486): Illuminate\Database\Connection->getReadPdo() #9 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(414): Illuminate\Database\Connection->getPdoForSelect(true) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `...', Array) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(899): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) #12 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(879): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) #15 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\Database\Connection->select('select * from `...', Array, true) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\Database\Query\Builder->runSelect() #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #18 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #19 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(710): Illuminate\Database\Query\Builder->get(Array) #20 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(694): Illuminate\Database\Eloquent\Builder->getModels(Array) #21 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\Database\Eloquent\Builder->get(Array) #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(561): Illuminate\Database\Eloquent\Builder->first() #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->firstOrCreate() #24 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2330): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'firstOrCreate', Array) #25 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2342): Illuminate\Database\Eloquent\Model->__call('firstOrCreate', Array) #26 /var/app/current/app/Models/Setting.php(27): Illuminate\Database\Eloquent\Model::__callStatic('firstOrCreate', Array) #27 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(397): App\Models\Setting::App\Models\{closure}() #28 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(408): Illuminate\Cache\Repository->remember('settings', 60, Object(Closure)) #29 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Cache\CacheManager->__call('remember', Array) #30 /var/app/current/app/Models/Setting.php(27): Illuminate\Support\Facades\Facade::__callStatic('remember', Array) #31 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(15): App\Models\Setting::settings() #32 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #33 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #34 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #35 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #36 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #37 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #38 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #39 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #40 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #41 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #42 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #43 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #44 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #45 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #46 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #47 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #49 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #50 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #51 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #52 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #53 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #54 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #55 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #56 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #57 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #58 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #59 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #60 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #61 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #62 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #63 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #64 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #65 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #66 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() #67 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` limit 1) in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(899): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(879): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from `...', Array, Object(Closure)) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) #4 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\Database\Connection->select('select * from `...', Array, true) #5 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\Database\Query\Builder->runSelect() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #8 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(710): Illuminate\Database\Query\Builder->get(Array) #9 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(694): Illuminate\Database\Eloquent\Builder->getModels(Array) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\Database\Eloquent\Builder->get(Array) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(561): Illuminate\Database\Eloquent\Builder->first() #12 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->firstOrCreate() #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2330): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'firstOrCreate', Array) #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2342): Illuminate\Database\Eloquent\Model->__call('firstOrCreate', Array) #15 /var/app/current/app/Models/Setting.php(27): Illuminate\Database\Eloquent\Model::__callStatic('firstOrCreate', Array) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(397): App\Models\Setting::App\Models\{closure}() #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(408): Illuminate\Cache\Repository->remember('settings', 60, Object(Closure)) #18 /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Cache\CacheManager->__call('remember', Array) #19 /var/app/current/app/Models/Setting.php(27): Illuminate\Support\Facades\Facade::__callStatic('remember', Array) #20 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(15): App\Models\Setting::settings() #21 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #24 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #25 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #26 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #27 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #28 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #29 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #30 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #31 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #32 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #33 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #34 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #35 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #36 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #37 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #38 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #39 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #40 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #41 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #42 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #43 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #44 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #45 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #46 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #47 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #49 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #50 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #51 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #52 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #53 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #54 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #55 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() #56 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` limit 1) (View: /var/app/current/resources/views/front/layouts/main.blade.php) in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Illuminate\Database\QueryException), 2) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #4 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #5 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #8 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #9 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #12 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #15 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #18 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #19 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #20 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #21 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #24 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #25 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() #26 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` limit 1) (View: /var/app/current/resources/views/front/layouts/main.blade.php) (View: /var/app/current/resources/views/front/layouts/main.blade.php) in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Illuminate\View\ViewException), 1) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #3 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #4 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #5 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #6 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #7 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #8 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #9 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #10 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #11 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #12 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #13 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Symfony\Component\ErrorHandler\Error\FatalError)) #14 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #15 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #17 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() #18 {main} thrown in /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 760