mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.64k stars 331 forks source link

\MailgunWebhooksController::stripAttachments() must be of the type array error #254

Closed HeadStudios closed 1 year ago

HeadStudios commented 1 year ago

I am receiving the following error in my laravel.log file - I should note Webhooks seem to be working and registering fine - this particular one was fired on an email open

[2023-02-09 23:21:28] production.ERROR: Argument 1 passed to Sendportal\Base\Http\Controllers\Api\Webhooks\MailgunWebhooksController::stripAttachments() must be of the type array, null given, called in /home/forge/mail.rrdevours.monster/vendor/mettle/sendportal-core/src/Http/Controllers/Api/Webhooks/MailgunWebhooksController.php on line 19 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Sendportal\Base\Http\Controllers\Api\Webhooks\MailgunWebhooksController::stripAttachments() must be of the type array, null given, called in /home/forge/mail.rrdevours.monster/vendor/mettle/sendportal-core/src/Http/Controllers/Api/Webhooks/MailgunWebhooksController.php on line 19 at /home/forge/mail.rrdevours.monster/vendor/mettle/sendportal-core/src/Http/Controllers/Api/Webhooks/MailgunWebhooksController.php:37) [stacktrace]

Any idea what this means? Thanks

HeadStudios commented 1 year ago

Not a big deal so I'll close...