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/Eloquent/Relations/Relation.php(195): Illuminate\Database\Eloquent\Builder->get(Array) #22 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(509): Illuminate\Database\Eloquent\Relations\Relation->get() #23 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(219): App\Models\Setting->getMetaCollection() #24 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(161): App\Models\Setting->hasMeta('collection') #25 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(21): App\Models\Setting->getMeta('collection', 'afdc3da0-27b3-4...') #26 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #27 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #28 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #29 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #30 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #31 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #32 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #33 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #34 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #35 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #36 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #37 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #38 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #39 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #40 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #41 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #42 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #43 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #44 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #45 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #46 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #47 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #49 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #50 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #51 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #52 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #53 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #54 /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)) #55 /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)) #56 /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)) #57 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\View\ViewException)) #58 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\View\ViewException)) #59 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\View\ViewException)) #60 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `meta` where `meta`.`metable_type` = App\Models\Setting and `meta`.`metable_id` = d4b83050-a04d-4648-b15f-5b4780d333c3 and `meta`.`metable_id` is not null) 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/Eloquent/Relations/Relation.php(195): Illuminate\Database\Eloquent\Builder->get(Array) #11 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(509): Illuminate\Database\Eloquent\Relations\Relation->get() #12 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(219): App\Models\Setting->getMetaCollection() #13 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(161): App\Models\Setting->hasMeta('collection') #14 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(21): App\Models\Setting->getMeta('collection', 'afdc3da0-27b3-4...') #15 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #18 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #19 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #20 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #21 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #24 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #25 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #26 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #27 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #28 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #29 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #30 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #31 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #32 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #33 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #34 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #35 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #36 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #37 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #38 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #39 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #40 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #41 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #42 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #43 /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)) #44 /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)) #45 /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)) #46 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\View\ViewException)) #47 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\View\ViewException)) #48 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\View\ViewException)) #49 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `meta` where `meta`.`metable_type` = App\Models\Setting and `meta`.`metable_id` = d4b83050-a04d-4648-b15f-5b4780d333c3 and `meta`.`metable_id` is not null) (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 `meta` where `meta`.`metable_type` = App\Models\Setting and `meta`.`metable_id` = d4b83050-a04d-4648-b15f-5b4780d333c3 and `meta`.`metable_id` is not null) (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/Eloquent/Relations/Relation.php(195): Illuminate\Database\Eloquent\Builder->get(Array) #22 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(509): Illuminate\Database\Eloquent\Relations\Relation->get() #23 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(219): App\Models\Setting->getMetaCollection() #24 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(161): App\Models\Setting->hasMeta('collection') #25 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(21): App\Models\Setting->getMeta('collection', 'afdc3da0-27b3-4...') #26 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #27 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #28 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #29 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #30 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #31 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #32 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #33 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #34 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #35 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #36 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #37 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #38 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #39 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #40 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #41 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #42 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #43 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #44 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #45 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #46 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #47 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #49 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #50 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #51 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #52 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #53 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #54 /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)) #55 /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)) #56 /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)) #57 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #58 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #59 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #60 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() #61 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `meta` where `meta`.`metable_type` = App\Models\Setting and `meta`.`metable_id` = d4b83050-a04d-4648-b15f-5b4780d333c3 and `meta`.`metable_id` is not null) 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/Eloquent/Relations/Relation.php(195): Illuminate\Database\Eloquent\Builder->get(Array) #11 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(509): Illuminate\Database\Eloquent\Relations\Relation->get() #12 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(219): App\Models\Setting->getMetaCollection() #13 /var/app/current/vendor/plank/laravel-metable/src/Metable.php(161): App\Models\Setting->hasMeta('collection') #14 /var/app/current/app/Http/ViewComposers/NavbarViewComposer.php(21): App\Models\Setting->getMeta('collection', 'afdc3da0-27b3-4...') #15 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(124): App\Http\ViewComposers\NavbarViewComposer->compose(Object(Illuminate\View\View)) #16 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}(Object(Illuminate\View\View)) #17 /var/app/current/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('composing: fron...', Array) #18 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch('composing: fron...', Array) #19 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer(Object(Illuminate\View\View)) #20 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #21 /var/app/current/storage/framework/views/17c2f73934df3807cec7535b17d0d23301f55e5d.php(101): Illuminate\View\View->render() #22 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #23 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #24 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #25 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #26 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #27 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #28 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #29 /var/app/current/storage/framework/views/00b3637400c751b1285bc6f7f7fad8261a52563c.php(12): Illuminate\View\View->render() #30 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('/var/app/curren...') #31 /var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #32 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire('/var/app/curren...', Array) #33 /var/app/current/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/app/curren...', Array) #34 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(195): Illuminate\View\Engines\CompilerEngine->get('/var/app/curren...', Array) #35 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents() #36 /var/app/current/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents() #37 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #38 /var/app/current/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #39 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct(Object(Illuminate\View\View), 500, Array) #40 /var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make(Object(Illuminate\View\View), 500, Array) #41 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(629): Illuminate\Routing\ResponseFactory->view('errors::500', Array, 500, Array) #42 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #43 /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)) #44 /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)) #45 /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)) #46 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #47 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError)) #48 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #49 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() #50 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `meta` where `meta`.`metable_type` = App\Models\Setting and `meta`.`metable_id` = d4b83050-a04d-4648-b15f-5b4780d333c3 and `meta`.`metable_id` is not null) (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 `meta` where `meta`.`metable_type` = App\Models\Setting and `meta`.`metable_id` = d4b83050-a04d-4648-b15f-5b4780d333c3 and `meta`.`metable_id` is not null) (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