siterig / statamic-mailerlite

Add-on for Statamic to connect forms with MailerLite
0 stars 2 forks source link

Tries to add subscriber from ANY form #21

Open imakeitworknet opened 10 months ago

imakeitworknet commented 10 months ago

Hi. Statamic 3.4.11 Statamic Mailerlite 1.1.5

Previously had only one form in Statamic - Newsletter subscription form, and everything worked as expected. Now added second form which has nothing to do with subscriptions, but getting error

"Undefined array key "email_field" from public function addSubscriber(array $config, object $submission_data)

which should not fire on that form submission at all.

Only one (another) form is set up in Statamic's Mailerlite Settings page. Any ideas?

MeMattStone commented 5 months ago

This issue is resolved in a release due next week based on changes to our other add-on here which will be merged across into this add-on next week and a release published.

Apologies for the extended delay on this update.

If you have any further question please reply to this issue