admin_vendor.dd4a8492.js:40836 Uncaught TypeError: Cannot read property ‘0’ of undefined
at FormFieldDate.render (admin_vendor.dd4a8492.js:40836)
at mailpoet.a55b11ee.js:15742
at measureLifeCyclePerf (mailpoet.a55b11ee.js:15021)
at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (mailpoet.a55b11ee.js:15741)
at ReactCompositeComponentWrapper._renderValidatedComponent (mailpoet.a55b11ee.js:15768)
at ReactCompositeComponentWrapper.performInitialMount (mailpoet.a55b11ee.js:15308)
at ReactCompositeComponentWrapper.mountComponent (mailpoet.a55b11ee.js:15204)
at Object.mountComponent (mailpoet.a55b11ee.js:7764)
at ReactDOMComponent.mountChildren (mailpoet.a55b11ee.js:14334)
at ReactDOMComponent._createInitialChildren (mailpoet.a55b11ee.js:11408)
Hello @friskiu2,
Thank you for sharing your issue.
Do you have a custom field with a “Date” type?
If yes, you could try opening up a subscription form, open “Fields” tab, modify the date custom field, select a different format for the type of date and save settings.
Without having direct access to the site it’s difficult to tell, but I suspect you may have a date type with an unsupported format.
Changing the date type of that particular custom field to a supported one should fix the issue.
Let us know how it goes.
Best regards,
MailPoet team.
Thanks,
yes, a subscription form imported from Mailpoet2 had a custom date field requiring yy, mm, dd. Changed to yy, mm.