Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(70): PDO->__construct() #1 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #2 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #3 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #4 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #6 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(949): call_user_func() #7 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(984): Illuminate\Database\Connection->getPdo() #8 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(412): Illuminate\Database\Connection->getReadPdo() #9 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(338): Illuminate\Database\Connection->getPdoForSelect() #10 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(671): Illuminate\Database\Connection->Illuminate\Database\{closure}() #11 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(752): Illuminate\Database\Connection->runQueryCallback() #12 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #13 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(641): Illuminate\Database\Connection->handleQueryException() #14 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(346): Illuminate\Database\Connection->run() #15 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2313): Illuminate\Database\Connection->select() #16 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2301): Illuminate\Database\Query\Builder->runSelect() #17 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2796): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #18 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2302): Illuminate\Database\Query\Builder->onceWithColumns() #19 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(588): Illuminate\Database\Query\Builder->get() #20 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(572): Illuminate\Database\Eloquent\Builder->getModels() #21 /var/www/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(242): Illuminate\Database\Eloquent\Builder->get() #22 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php(82): Illuminate\Database\Eloquent\Builder->first() #23 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(469): Illuminate\Database\Eloquent\Relations\BelongsTo->getResults() #24 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(441): Illuminate\Database\Eloquent\Model->getRelationshipFromMethod() #25 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(396): Illuminate\Database\Eloquent\Model->getRelationValue() #26 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1791): Illuminate\Database\Eloquent\Model->getAttribute() #27 /var/www/app/Models/Post.php(35): Illuminate\Database\Eloquent\Model->__get() #28 /var/www/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): App\Models\Post->getLink() #29 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/DelegatesToResource.php(148): Illuminate\Http\Resources\Json\JsonResource->forwardCallTo() #30 /var/www/app/Http/Resources/PostResource.php(59): Illuminate\Http\Resources\Json\JsonResource->__call() #31 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): App\Http\Resources\PostResource->toArray() #32 [internal function]: Illuminate\Support\HigherOrderCollectionProxy->Illuminate\Support\{closure}() #33 /var/www/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(642): array_map() #34 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\Support\Collection->map() #35 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php(100): Illuminate\Support\HigherOrderCollectionProxy->__call() #36 /var/www/app/Widget/Components/SidebarListBlock.php(59): Illuminate\Http\Resources\Json\ResourceCollection->toArray() #37 /var/www/app/Widget/Model.php(88): App\Widget\Components\SidebarListBlock->render() #38 /var/www/app/Widget/Model.php(56): App\Widget\Model->renderComponent() #39 /var/www/storage/framework/views/2d0e158a74d4cd9c13abd5bb2d66d7fd2ca4b25e.php(2): App\Widget\Model->render() #40 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #41 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #42 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #43 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #44 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #45 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #46 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #47 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #48 /var/www/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php(89): Illuminate\View\View->render() #49 /var/www/storage/framework/views/fc8e8655d443ec61478ca7ec11cf07ab75efba3c.php(50): Illuminate\View\Factory->renderComponent() #50 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #51 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #52 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #53 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #54 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #55 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #56 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #57 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #58 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #59 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #60 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #61 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #62 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #63 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #64 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #65 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #66 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #67 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #68 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `mh_event_regions` where `mh_event_regions`.`id` = 41 limit 1) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(752): Illuminate\Database\Connection->runQueryCallback() #1 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #2 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(641): Illuminate\Database\Connection->handleQueryException() #3 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(346): Illuminate\Database\Connection->run() #4 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2313): Illuminate\Database\Connection->select() #5 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2301): Illuminate\Database\Query\Builder->runSelect() #6 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2796): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #7 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2302): Illuminate\Database\Query\Builder->onceWithColumns() #8 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(588): Illuminate\Database\Query\Builder->get() #9 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(572): Illuminate\Database\Eloquent\Builder->getModels() #10 /var/www/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(242): Illuminate\Database\Eloquent\Builder->get() #11 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php(82): Illuminate\Database\Eloquent\Builder->first() #12 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(469): Illuminate\Database\Eloquent\Relations\BelongsTo->getResults() #13 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(441): Illuminate\Database\Eloquent\Model->getRelationshipFromMethod() #14 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(396): Illuminate\Database\Eloquent\Model->getRelationValue() #15 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1791): Illuminate\Database\Eloquent\Model->getAttribute() #16 /var/www/app/Models/Post.php(35): Illuminate\Database\Eloquent\Model->__get() #17 /var/www/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): App\Models\Post->getLink() #18 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/DelegatesToResource.php(148): Illuminate\Http\Resources\Json\JsonResource->forwardCallTo() #19 /var/www/app/Http/Resources/PostResource.php(59): Illuminate\Http\Resources\Json\JsonResource->__call() #20 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): App\Http\Resources\PostResource->toArray() #21 [internal function]: Illuminate\Support\HigherOrderCollectionProxy->Illuminate\Support\{closure}() #22 /var/www/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(642): array_map() #23 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\Support\Collection->map() #24 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php(100): Illuminate\Support\HigherOrderCollectionProxy->__call() #25 /var/www/app/Widget/Components/SidebarListBlock.php(59): Illuminate\Http\Resources\Json\ResourceCollection->toArray() #26 /var/www/app/Widget/Model.php(88): App\Widget\Components\SidebarListBlock->render() #27 /var/www/app/Widget/Model.php(56): App\Widget\Model->renderComponent() #28 /var/www/storage/framework/views/2d0e158a74d4cd9c13abd5bb2d66d7fd2ca4b25e.php(2): App\Widget\Model->render() #29 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #30 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #31 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #32 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #33 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #34 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #35 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #36 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #37 /var/www/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php(89): Illuminate\View\View->render() #38 /var/www/storage/framework/views/fc8e8655d443ec61478ca7ec11cf07ab75efba3c.php(50): Illuminate\View\Factory->renderComponent() #39 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #40 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #41 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #42 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #43 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #44 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #45 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #46 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #47 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #48 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #49 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #50 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #51 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #52 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #53 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #54 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #55 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #56 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #57 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `mh_event_regions` where `mh_event_regions`.`id` = 41 limit 1) (View: /var/www/resources/views/components/widget/block.blade.php) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException() #1 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #2 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #3 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #4 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #5 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #6 /var/www/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php(89): Illuminate\View\View->render() #7 /var/www/storage/framework/views/fc8e8655d443ec61478ca7ec11cf07ab75efba3c.php(50): Illuminate\View\Factory->renderComponent() #8 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #9 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #10 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #11 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #12 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #13 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #14 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #15 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #16 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #17 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #18 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #19 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #20 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #21 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #22 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #23 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #24 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #25 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #26 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `mh_event_regions` where `mh_event_regions`.`id` = 41 limit 1) (View: /var/www/resources/views/components/widget/block.blade.php) (View: /var/www/resources/views/components/widget/block.blade.php) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException() #1 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #2 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #3 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #4 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #5 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #6 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #7 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #8 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #9 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #10 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #11 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #12 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #13 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #14 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #15 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #16 {main} thrown in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 678

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(70): PDO->__construct() #1 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #2 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #3 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #4 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #6 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(949): call_user_func() #7 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(984): Illuminate\Database\Connection->getPdo() #8 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(412): Illuminate\Database\Connection->getReadPdo() #9 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(338): Illuminate\Database\Connection->getPdoForSelect() #10 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(671): Illuminate\Database\Connection->Illuminate\Database\{closure}() #11 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(752): Illuminate\Database\Connection->runQueryCallback() #12 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #13 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(641): Illuminate\Database\Connection->handleQueryException() #14 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(346): Illuminate\Database\Connection->run() #15 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2313): Illuminate\Database\Connection->select() #16 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2301): Illuminate\Database\Query\Builder->runSelect() #17 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2796): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #18 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2302): Illuminate\Database\Query\Builder->onceWithColumns() #19 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(588): Illuminate\Database\Query\Builder->get() #20 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(572): Illuminate\Database\Eloquent\Builder->getModels() #21 /var/www/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(242): Illuminate\Database\Eloquent\Builder->get() #22 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php(82): Illuminate\Database\Eloquent\Builder->first() #23 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(469): Illuminate\Database\Eloquent\Relations\BelongsTo->getResults() #24 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(441): Illuminate\Database\Eloquent\Model->getRelationshipFromMethod() #25 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(396): Illuminate\Database\Eloquent\Model->getRelationValue() #26 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1791): Illuminate\Database\Eloquent\Model->getAttribute() #27 /var/www/app/Models/Post.php(35): Illuminate\Database\Eloquent\Model->__get() #28 /var/www/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): App\Models\Post->getLink() #29 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/DelegatesToResource.php(148): Illuminate\Http\Resources\Json\JsonResource->forwardCallTo() #30 /var/www/app/Http/Resources/PostResource.php(59): Illuminate\Http\Resources\Json\JsonResource->__call() #31 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): App\Http\Resources\PostResource->toArray() #32 [internal function]: Illuminate\Support\HigherOrderCollectionProxy->Illuminate\Support\{closure}() #33 /var/www/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(642): array_map() #34 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\Support\Collection->map() #35 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php(100): Illuminate\Support\HigherOrderCollectionProxy->__call() #36 /var/www/app/Widget/Components/SidebarListBlock.php(59): Illuminate\Http\Resources\Json\ResourceCollection->toArray() #37 /var/www/app/Widget/Model.php(88): App\Widget\Components\SidebarListBlock->render() #38 /var/www/app/Widget/Model.php(56): App\Widget\Model->renderComponent() #39 /var/www/storage/framework/views/2d0e158a74d4cd9c13abd5bb2d66d7fd2ca4b25e.php(2): App\Widget\Model->render() #40 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #41 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #42 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #43 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #44 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #45 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #46 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #47 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #48 /var/www/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php(89): Illuminate\View\View->render() #49 /var/www/storage/framework/views/fc8e8655d443ec61478ca7ec11cf07ab75efba3c.php(50): Illuminate\View\Factory->renderComponent() #50 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #51 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #52 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #53 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #54 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #55 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #56 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #57 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #58 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #59 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #60 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #61 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #62 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #63 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #64 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #65 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #66 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #67 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #68 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #69 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `mh_event_regions` where `mh_event_regions`.`id` = 41 limit 1) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(752): Illuminate\Database\Connection->runQueryCallback() #1 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #2 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(641): Illuminate\Database\Connection->handleQueryException() #3 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(346): Illuminate\Database\Connection->run() #4 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2313): Illuminate\Database\Connection->select() #5 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2301): Illuminate\Database\Query\Builder->runSelect() #6 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2796): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #7 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2302): Illuminate\Database\Query\Builder->onceWithColumns() #8 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(588): Illuminate\Database\Query\Builder->get() #9 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(572): Illuminate\Database\Eloquent\Builder->getModels() #10 /var/www/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(242): Illuminate\Database\Eloquent\Builder->get() #11 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php(82): Illuminate\Database\Eloquent\Builder->first() #12 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(469): Illuminate\Database\Eloquent\Relations\BelongsTo->getResults() #13 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(441): Illuminate\Database\Eloquent\Model->getRelationshipFromMethod() #14 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(396): Illuminate\Database\Eloquent\Model->getRelationValue() #15 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1791): Illuminate\Database\Eloquent\Model->getAttribute() #16 /var/www/app/Models/Post.php(35): Illuminate\Database\Eloquent\Model->__get() #17 /var/www/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): App\Models\Post->getLink() #18 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/DelegatesToResource.php(148): Illuminate\Http\Resources\Json\JsonResource->forwardCallTo() #19 /var/www/app/Http/Resources/PostResource.php(59): Illuminate\Http\Resources\Json\JsonResource->__call() #20 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): App\Http\Resources\PostResource->toArray() #21 [internal function]: Illuminate\Support\HigherOrderCollectionProxy->Illuminate\Support\{closure}() #22 /var/www/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(642): array_map() #23 /var/www/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\Support\Collection->map() #24 /var/www/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php(100): Illuminate\Support\HigherOrderCollectionProxy->__call() #25 /var/www/app/Widget/Components/SidebarListBlock.php(59): Illuminate\Http\Resources\Json\ResourceCollection->toArray() #26 /var/www/app/Widget/Model.php(88): App\Widget\Components\SidebarListBlock->render() #27 /var/www/app/Widget/Model.php(56): App\Widget\Model->renderComponent() #28 /var/www/storage/framework/views/2d0e158a74d4cd9c13abd5bb2d66d7fd2ca4b25e.php(2): App\Widget\Model->render() #29 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #30 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #31 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #32 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #33 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #34 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #35 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #36 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #37 /var/www/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php(89): Illuminate\View\View->render() #38 /var/www/storage/framework/views/fc8e8655d443ec61478ca7ec11cf07ab75efba3c.php(50): Illuminate\View\Factory->renderComponent() #39 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #40 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #41 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #42 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #43 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #44 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #45 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #46 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #47 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #48 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #49 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #50 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #51 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #52 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #53 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #54 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #55 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #56 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #57 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #58 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `mh_event_regions` where `mh_event_regions`.`id` = 41 limit 1) (View: /var/www/resources/views/components/widget/block.blade.php) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException() #1 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #2 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #3 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #4 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #5 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #6 /var/www/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php(89): Illuminate\View\View->render() #7 /var/www/storage/framework/views/fc8e8655d443ec61478ca7ec11cf07ab75efba3c.php(50): Illuminate\View\Factory->renderComponent() #8 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107): require('...') #9 /var/www/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() #10 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire() #11 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #12 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #13 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #14 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #15 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #16 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #17 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #18 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #19 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #20 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #21 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #22 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #23 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #24 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #25 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #26 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #27 {main} Next Illuminate\View\ViewException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `mh_event_regions` where `mh_event_regions`.`id` = 41 limit 1) (View: /var/www/resources/views/components/widget/block.blade.php) (View: /var/www/resources/views/components/widget/block.blade.php) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:678 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException() #1 /var/www/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath() #2 /var/www/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/ViewEngineDecorator.php(46): Illuminate\View\Engines\CompilerEngine->get() #3 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(139): Sentry\Laravel\Tracing\ViewEngineDecorator->get() #4 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\View\View->getContents() #5 /var/www/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\View\View->renderContents() #6 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render() #7 /var/www/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent() #8 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(55): Illuminate\Http\Response->__construct() #9 /var/www/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(85): Illuminate\Routing\ResponseFactory->make() #10 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(569): Illuminate\Routing\ResponseFactory->view() #11 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(474): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #12 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(352): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #13 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(119): Illuminate\Foundation\Exceptions\Handler->render() #14 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(96): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse() #15 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() #16 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #17 {main} thrown in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 678