Fatal error: Class 'Spatie\WebhookClient\Log' not found #215
Unanswered
hondaman900
asked this question in
Q&A
Replies: 1 comment
-
Anyone with any ideas on this one? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running my Laravel app locally (Laragon) with Stripe in test mode, and my webhooks are failing with 500 errors, giving the following error in the logs:
local.ERROR: Class 'Spatie\WebhookClient\Log' not found {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'Spatie\\WebhookClient\\Log' not found at C:\\laragon\\www\\DS_Clone\\vendor\\spatie\\laravel-webhook-client\\src\\WebhookProcessor.php:24)
I've used
laravel-stripe-webhooks
before successfully, and can't figure out what the issue is. I have double-checked my test keys, Stripe CLI is running fine as is the Stripe checkout, but the webhooks are crashing so I can't complete the transaction in my app. Using Artisan to clear config and cache didn't change anything.The code referred to in the error in WebhookProcessor.php is
where the line (24) it crashes on is the last line where it tries to write to a log.
Any help is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions