Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook subscription_created response 400 #58

Closed
bjondja opened this issue Nov 15, 2023 · 6 comments
Closed

Webhook subscription_created response 400 #58

bjondja opened this issue Nov 15, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@bjondja
Copy link

bjondja commented Nov 15, 2023

Lemon Squeezy for Laravel Version

1.0

Laravel Version

10.32

PHP Version

8.2.11

Description

Hello
What i'm missing becouse have the webhook response 400.
the url of lemon squeezy webhook is https://lemon-squeezy.test/lemon-squeezy/webhook
and the response is 400.

Steps To Reproduce

All ok except the webhook response

@bjondja bjondja added the bug Something isn't working label Nov 15, 2023
@driesvints
Copy link
Collaborator

I'll need a lot more info here... are there any logs you can share like the laravel.log file? What code are you using to trigger this error?

@bjondja
Copy link
Author

bjondja commented Nov 16, 2023

vendor/lemonsqueezy/laravel/src/Checkout.php(210): LemonSqueezy\Laravel\LemonSqueezy::api('POST', 'checkouts', Array)

I think the problem is handling webhooks.

@driesvints
Copy link
Collaborator

Can you please provide logs with a full stacktrace?

@bjondja
Copy link
Author

bjondja commented Nov 16, 2023

Screenshot 2023-11-16 at 12 12 21 PM
the problem must be handling webhooks.
what tool you use?.
I have install the Spatie webhook client.

@bjondja
Copy link
Author

bjondja commented Nov 16, 2023

[2023-11-16 12:00:31] local.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = ypRfbzECPDwKM4ydWebyXIC9yOOIIqt91sVOTR6d limit 1) {"exception":"[object] (Illuminate\Database\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = ypRfbzECPDwKM4ydWebyXIC9yOOIIqt91sVOTR6d limit 1) at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php:822)
[stacktrace]
#0 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(976): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure)) #1 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(955): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from ...', Array, Object(Closure))
#2 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from ...', Array, Object(Closure)) #3 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\\Database\\Connection->run('select * from ...', Array, Object(Closure))
#4 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect()
#6 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#7 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#8 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(333): Illuminate\Database\Query\Builder->get(Array)
#9 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2662): Illuminate\Database\Query\Builder->first(Array)
#10 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\Database\Query\Builder->find('ypRfbzECPDwKM4y...')
#11 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\Session\DatabaseSessionHandler->read('ypRfbzECPDwKM4y...')
#12 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\Session\Store->readFromHandler()
#13 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\Session\Store->loadSession()
#14 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\Session\Store->start()
#15 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}(Object(Illuminate\Session\Store))
#16 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\Session\Store), Object(Closure))
#17 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\Session\Middleware\StartSession->startSession(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store))
#18 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#19 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#20 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#21 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#22 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#23 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#24 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#26 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#27 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#28 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#29 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#30 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#31 /Users/bjondja/Herd/lemon-squeezy/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#49 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#50 /Users/bjondja/Herd/lemon-squeezy/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#51 /Applications/Herd.app/Contents/Resources/valet/server.php(120): require('/Users/bjondja/Her...')
#52 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
[stacktrace]
#0 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct('mysql:host=127....', 'root', Object(SensitiveParameterValue), Array)
#1 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(83): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=127....', 'root', '', Array)
#2 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=127....', 'root', '', Array)
#3 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array)
#4 /Users/bjondja/Herd/lemon-squeezy/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 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1319): call_user_func(Object(Closure))
#7 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1355): Illuminate\Database\Connection->getPdo()
#8 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(521): Illuminate\Database\Connection->getReadPdo()
#9 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(416): Illuminate\Database\Connection->getPdoForSelect(true)
#10 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(809): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from ...', Array) #11 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(976): Illuminate\\Database\\Connection->runQueryCallback('select * from ...', Array, Object(Closure))
#12 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(955): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from ...', Array, Object(Closure)) #13 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from ...', Array, Object(Closure))
#14 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure)) #15 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\\Database\\Connection->select('select * from ...', Array, true)
#16 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect()
#17 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#18 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#19 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(333): Illuminate\Database\Query\Builder->get(Array)
#20 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2662): Illuminate\Database\Query\Builder->first(Array)
#21 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\Database\Query\Builder->find('ypRfbzECPDwKM4y...')
#22 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\Session\DatabaseSessionHandler->read('ypRfbzECPDwKM4y...')
#23 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\Session\Store->readFromHandler()
#24 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\Session\Store->loadSession()
#25 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\Session\Store->start()
#26 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}(Object(Illuminate\Session\Store))
#27 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\Session\Store), Object(Closure))
#28 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\Session\Middleware\StartSession->startSession(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store))
#29 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#30 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#36 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#37 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#38 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#39 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#40 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#41 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#42 /Users/bjondja/Herd/lemon-squeezy/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#43 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#44 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#45 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#49 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#51 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#52 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#53 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#54 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#56 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#57 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#58 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#59 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#60 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#61 /Users/bjondja/Herd/lemon-squeezy/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#62 /Applications/Herd.app/Contents/Resources/valet/server.php(120): require('/Users/bjondja/Her...')
#63 {main}
"}
[2023-11-16 12:00:31] local.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = ypRfbzECPDwKM4ydWebyXIC9yOOIIqt91sVOTR6d limit 1) {"exception":"[object] (Illuminate\Database\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = ypRfbzECPDwKM4ydWebyXIC9yOOIIqt91sVOTR6d limit 1) at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php:822)
[stacktrace]
#0 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(976): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure)) #1 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(955): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from ...', Array, Object(Closure))
#2 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from ...', Array, Object(Closure)) #3 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\\Database\\Connection->run('select * from ...', Array, Object(Closure))
#4 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect()
#6 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#7 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#8 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(333): Illuminate\Database\Query\Builder->get(Array)
#9 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2662): Illuminate\Database\Query\Builder->first(Array)
#10 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\Database\Query\Builder->find('ypRfbzECPDwKM4y...')
#11 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\Session\DatabaseSessionHandler->read('ypRfbzECPDwKM4y...')
#12 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\Session\Store->readFromHandler()
#13 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\Session\Store->loadSession()
#14 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\Session\Store->start()
#15 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}(Object(Illuminate\Session\Store))
#16 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\Session\Store), Object(Closure))
#17 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\Session\Middleware\StartSession->startSession(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store))
#18 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#19 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#20 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#21 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#22 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#23 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#24 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#26 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#27 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#28 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#29 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#30 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#31 /Users/bjondja/Herd/lemon-squeezy/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#49 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#50 /Users/bjondja/Herd/lemon-squeezy/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#51 /Applications/Herd.app/Contents/Resources/valet/server.php(120): require('/Users/bjondja/Her...')
#52 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
[stacktrace]
#0 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct('mysql:host=127....', 'root', Object(SensitiveParameterValue), Array)
#1 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(83): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=127....', 'root', '', Array)
#2 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=127....', 'root', '', Array)
#3 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array)
#4 /Users/bjondja/Herd/lemon-squeezy/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 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1319): call_user_func(Object(Closure))
#7 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1355): Illuminate\Database\Connection->getPdo()
#8 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(521): Illuminate\Database\Connection->getReadPdo()
#9 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(416): Illuminate\Database\Connection->getPdoForSelect(true)
#10 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(809): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from ...', Array) #11 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(976): Illuminate\\Database\\Connection->runQueryCallback('select * from ...', Array, Object(Closure))
#12 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(955): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from ...', Array, Object(Closure)) #13 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from ...', Array, Object(Closure))
#14 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure)) #15 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\\Database\\Connection->select('select * from ...', Array, true)
#16 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect()
#17 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#18 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#19 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(333): Illuminate\Database\Query\Builder->get(Array)
#20 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2662): Illuminate\Database\Query\Builder->first(Array)
#21 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\Database\Query\Builder->find('ypRfbzECPDwKM4y...')
#22 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\Session\DatabaseSessionHandler->read('ypRfbzECPDwKM4y...')
#23 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\Session\Store->readFromHandler()
#24 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\Session\Store->loadSession()
#25 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\Session\Store->start()
#26 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}(Object(Illuminate\Session\Store))
#27 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\Session\Store), Object(Closure))
#28 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\Session\Middleware\StartSession->startSession(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store))
#29 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#30 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#36 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#37 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#38 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#39 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#40 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#41 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#42 /Users/bjondja/Herd/lemon-squeezy/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#43 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#44 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#45 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#49 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#51 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#52 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#53 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#54 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#56 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#57 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#58 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#59 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#60 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#61 /Users/bjondja/Herd/lemon-squeezy/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#62 /Applications/Herd.app/Contents/Resources/valet/server.php(120): require('/Users/bjondja/Her...')
#63 {main}
"}
[2023-11-16 12:00:31] local.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = ypRfbzECPDwKM4ydWebyXIC9yOOIIqt91sVOTR6d limit 1) {"exception":"[object] (Illuminate\Database\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from sessions where id = ypRfbzECPDwKM4ydWebyXIC9yOOIIqt91sVOTR6d limit 1) at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php:822)
[stacktrace]
#0 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(976): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure)) #1 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(955): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from ...', Array, Object(Closure))
#2 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from ...', Array, Object(Closure)) #3 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\\Database\\Connection->run('select * from ...', Array, Object(Closure))
#4 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect()
#6 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#7 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#8 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(333): Illuminate\Database\Query\Builder->get(Array)
#9 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2662): Illuminate\Database\Query\Builder->first(Array)
#10 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\Database\Query\Builder->find('ypRfbzECPDwKM4y...')
#11 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\Session\DatabaseSessionHandler->read('ypRfbzECPDwKM4y...')
#12 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\Session\Store->readFromHandler()
#13 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\Session\Store->loadSession()
#14 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\Session\Store->start()
#15 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}(Object(Illuminate\Session\Store))
#16 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\Session\Store), Object(Closure))
#17 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\Session\Middleware\StartSession->startSession(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store))
#18 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#19 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#20 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#21 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#22 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#23 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#24 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#26 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#27 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#28 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#29 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#30 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#31 /Users/bjondja/Herd/lemon-squeezy/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#49 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#50 /Users/bjondja/Herd/lemon-squeezy/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#51 /Applications/Herd.app/Contents/Resources/valet/server.php(120): require('/Users/bjondja/Her...')
#52 {main}

[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
[stacktrace]
#0 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct('mysql:host=127....', 'root', Object(SensitiveParameterValue), Array)
#1 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(83): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=127....', 'root', '', Array)
#2 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=127....', 'root', '', Array)
#3 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array)
#4 /Users/bjondja/Herd/lemon-squeezy/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 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1319): call_user_func(Object(Closure))
#7 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1355): Illuminate\Database\Connection->getPdo()
#8 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(521): Illuminate\Database\Connection->getReadPdo()
#9 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(416): Illuminate\Database\Connection->getPdoForSelect(true)
#10 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(809): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from ...', Array) #11 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(976): Illuminate\\Database\\Connection->runQueryCallback('select * from ...', Array, Object(Closure))
#12 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(955): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from ...', Array, Object(Closure)) #13 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from ...', Array, Object(Closure))
#14 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure)) #15 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\\Database\\Connection->select('select * from ...', Array, true)
#16 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect()
#17 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#18 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#19 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(333): Illuminate\Database\Query\Builder->get(Array)
#20 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2662): Illuminate\Database\Query\Builder->first(Array)
#21 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\Database\Query\Builder->find('ypRfbzECPDwKM4y...')
#22 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\Session\DatabaseSessionHandler->read('ypRfbzECPDwKM4y...')
#23 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\Session\Store->readFromHandler()
#24 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\Session\Store->loadSession()
#25 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\Session\Store->start()
#26 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\Session\Middleware\StartSession->Illuminate\Session\Middleware\{closure}(Object(Illuminate\Session\Store))
#27 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\Session\Store), Object(Closure))
#28 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\Session\Middleware\StartSession->startSession(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store))
#29 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#30 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#36 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#37 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#38 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#39 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#40 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#41 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#42 /Users/bjondja/Herd/lemon-squeezy/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#43 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#44 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#45 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#49 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#51 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#52 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#53 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#54 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#56 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#57 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#58 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#59 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#60 /Users/bjondja/Herd/lemon-squeezy/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#61 /Users/bjondja/Herd/lemon-squeezy/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#62 /Applications/Herd.app/Contents/Resources/valet/server.php(120): require('/Users/bjondja/Her...')
#63 {main}
"}

@driesvints
Copy link
Collaborator

I'm sorry but these seem database connection issues which have nothing to do with the package. I also don't maintain the spatie webhook package so can't provide support for this I'm afraid. Please try their own issue tracker or a channel like Laracasts or Laravel.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants