Processing of {query_var key=”email_address1″} causes fatal error?
-
Using WPForms Lite 1.7.1.2, I have an Email Address for Tee Time Request form that uses an Email field to collect an email address. Its Settings>Confirmations>Default Confirmation is Confirmation Type of ‘Go to URL (Redirect)’ and Confirmation Redirect URL of ‘https://tsglma.org/tee-time-request-form/?email_address1={field_id=”1″}’.
The Tee Time Request form that is on that page contains an Email field with an Advanced>Default Value of ‘{query_var key=”email_address1″}’.
If I enter a good email address into the Email Address for Tee Time Request form and click on the form’s Submit button, I end up with a blank/white window and the following in my debug.log:
[01-Jan-2022 22:14:44 UTC] [fatal error]: ‘wpforms_field_smart_tag_value is deprecated since version 1.6.7! Use wpforms_smarttags_process_fieldid_value instead.’ file: /home/dh_bbfafd/tsglma.org/wp-includes/functions.php, line: 5586
However, if I go back to my WPForms>All Forms and edit my Email Address for Tee Time Request form to delete the question mark and everything to its right in the Confirmation Redirect URL, enter a good email address, and click on the form’s Submit button, I get to https://www.tsglma.org/tee-time-request-form/, which displays its form, but without the default value for its email address, of course.
I don’t use wpforms_field_smart_tab_value in my code.
This used to work, although it has been a while since I tested this particular piece of my site, so I can’t say when the problem started. Please figure out how to make it work again.
Until then, is there a workaround I can implement?
- The topic ‘Processing of {query_var key=”email_address1″} causes fatal error?’ is closed to new replies.