There has been a critical error on this website.

Formidable Forms Bug Released
July 05, 2021 17:55:45
mcwfc
Topics: 3
Messages: 8
Everytime I submit my form I get the error "There has been a critical error on this website."

I've looked at the error logs on the server and the e2pdf plugin is throwing a fatal error.

Here is what I'm seeing in the error log:

5 PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Denver) in /nas/content/live/reliantsecur/wp-content/plugins/e2pdf/classes/model/e2pdf-shortcode.php:2007\nStack trace:\n#0 /nas/content/live/reliantsecur/wp-content/plugins/e2pdf/classes/model/e2pdf-shortcode.php(2007): DateTimeZone->__construct('Denver')\n#1 /nas/content/live/reliantsecur/wp-includes/shortcodes.php(343): Model_E2pdf_Shortcode->e2pdf_format_date(Array, 'now', 'e2pdf-format-da...')\n#2 [internal function]: do_shortcode_tag(Array)\n#3 /nas/content/live/reliantsecur/wp-includes/shortcodes.php(218): preg_replace_callback('/\\\\[(\\\\[?)(e2pdf\\\\...', 'do_shortcode_ta...', '[e2pdf-format-d...
')\n#4 /nas/content/live/reliantsecur/wp-content/plugins/e2pdf/classes/extension/e2pdf-formidable.php(646): do_shortcode('[e2pdf-format-d...')\n#5 /nas/content/live/reliantsecur/wp-content/plugins/e2pdf/classes/extension/e2pdf-formidable.php(239): Extension_E2pdf_Formidable->render_shortcodes('[e2pdf-format-d...', Array)\n#6 /nas/content/live/relian in /nas/content/live/reliantsecur/wp-content/plugins/e2pdf/classes/model/e2pdf-shortcode.php on line 2007

Can you help?
July 05, 2021 18:51:07
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

It looks like the issue is due the incorrect "timezone" attribute used with [e2pdf-format-date] shortcode.

Try to use please "America/Denver" instead of "Denver" if you need to use "Denver" timezone as:

[e2pdf-format-date timezone="America/Denver"]now[/e2pdf-format-date]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
July 05, 2021 19:58:42
mcwfc
Topics: 3
Messages: 8
That fixed it! Thank you!

One more question.

How do I map the different fields in a Formidable Address field? How do I tell the template which field is which?

Thanks!
July 06, 2021 06:41:09
E2Pdf
Topics: 7
Messages: 3617
Support
You must be able to use Formidable Forms syntax as:

[123 show="line1"], [123 show="city"], [123 show="country"] where "123" is the Formidable Forms Address Field ID.

https://formidableforms.com/knowledgebase/address/#kb-display-address-fields

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.