Hello
I can't get the Webform Mautic to work - both the 1.x-dev and 1.0-alpha1.
Steps to reproduce:
0. using Drupal 8.6.7 PHP 7.1.25
1. create/edit Webform
2. navigate to Settings > Emails / Handlers
3. click Add Handler > click Mautic
(localdev.dev/admin/structure/webform/manage/newsletter_signup/handlers/add/mautic)
4. wheel of progress gif appears and then disappear - and the Add Mautic Handler widget is not showing up
5. if i try to add any other handlers (Remote post, MailChimp, Action, etc) - their corresponding widget will show up fine and they can be added
Looking at the log i see a long error message (full error screenshot atached) starting with:
Error: Call to undefined method Drupal\webform_mautic\Plugin\WebformHandler\WebformMauticHandler::elementTokenValidate() in Drupal\webform_mautic\Plugin\WebformHandler\WebformMauticHandler->buildConfigurationForm()
Couldn't figure out if it's a problem on my end.
Any idea?
Comment | File | Size | Author |
---|---|---|---|
#5 | Webform_Mautic_3201540.patch | 2.52 KB | Ken Patolia |
#3 | Captura de Tela 2020-08-06 às 17.48.20.png | 788.91 KB | tmsweb |
screenshot-dev-2019.10.21-04_25_07.png | 253.36 KB | iacnet |
Comments
Comment #2
Rodeo.be CreditAttribution: Rodeo.be commentedI ran into the same problem on D9
Comment #3
tmsweb CreditAttribution: tmsweb commentedI have the same problem with the final version 8.x-1.1
Error: Call to undefined method Drupal\webform_mautic\Plugin\WebformHandler\WebformMauticHandler::elementTokenValidate()
https://prnt.sc/tvby6o
Comment #4
kylebehse CreditAttribution: kylebehse commentedAny luck with this? I'm getting something similar (icon spins but doesn't load the handler panel):
Message Error: Call to a member function get() on null in Drupal\webform\Plugin\WebformHandlerBase->isExcluded() (line 315 of /app/modules/contrib/webform/src/Plugin/WebformHandlerBase.php)
I have a feeling it's a compatibility issue with webform v6 alpha.
Comment #5
Ken Patolia CreditAttribution: Ken Patolia at Drupalnest LLC commentedHi @kylebehse,
This is a compatibility issue with the latest web form update. I was also getting the same error and spent my day to find the issue.
You can use the attached patch, it will solve your issue.
Can the module owner please merge my patch?
Thanks,
-Ken
Comment #6
Ken Patolia CreditAttribution: Ken Patolia at Drupalnest LLC commentedComment #7
Mohammed J. RazemDuplicate of #3174456: Incompatibility with Webform 6.0.0 which will be fixed there.