The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
frm_email_value filter is deprecated
I am trying to set up conditional redirection for the "On Submit" "redirect to url".
I am using the recommendation from formidable: "http://[if 25 equals="Option 1"]site-a.com[/if 25][if 25 equals="Option 2"]site-b.com[/if 25][if 25 equals="Option 3"]site-c.com[/if 25]"
When testing the form, the following error message comes up: "The frm_email_value filter is deprecated since version 2.04! Use the frm_display_{fieldtype}_value_custom filter instead. In home/certainc/public_html/wp-includes/functions.php on line 3838"
How do I fix this?
January 2, 2018 at 9:50 am
There's not enough information in your post to help troubleshoot this. Enable WordPress debug so you can view the execution stack trace.
October 4, 2018 at 4:22 am
I'm having the same issue in any form that sends an email. Stack trace:
1
0.0723
2477720
{main}( )
.../index.php:0
2
0.0723
2478008
require( '/public/wp-blog-header.php' )
.../index.php:17
3
0.0724
2478360
require_once( '/public/wp-load.php' )
.../wp-blog-header.php:13
4
0.0724
2478760
require_once( '/public/wp-config.php' )
.../wp-load.php:37
5
0.0724
2480200
require_once( '/public/wp-settings.php' )
.../wp-config.php:93
6
0.3389
13978616
do_action( )
.../wp-settings.php:471
7
0.3389
13978992
WP_Hook->do_action( )
.../plugin.php:453
8
0.3389
13978992
WP_Hook->apply_filters( )
.../class-wp-hook.php:310
9
0.3396
13983480
FrmEntriesController::process_entry( )
.../class-wp-hook.php:284
10
0.4195
15343432
FrmEntry::create( )
.../FrmEntriesController.php:614
11
0.4195
15343432
FrmEntry::create_entry( )
.../FrmEntry.php:15
12
0.4787
15553408
FrmEntry::continue_to_create_entry( )
.../FrmEntry.php:35
13
0.4824
15538576
FrmEntry::after_insert_entry_in_database( )
.../FrmEntry.php:511
14
0.5246
15560144
FrmEntry::after_entry_created_actions( )
.../FrmEntry.php:758
15
0.5246
15560520
do_action( )
.../FrmEntry.php:738
16
0.5246
15560896
WP_Hook->do_action( )
.../plugin.php:453
17
0.5246
15560896
WP_Hook->apply_filters( )
.../class-wp-hook.php:310
18
0.5325
15583520
FrmFormActionsController::trigger_create_actions( )
.../class-wp-hook.php:286
19
0.5326
15583896
FrmFormActionsController::trigger_actions( )
.../FrmFormActionsController.php:258
20
1.4730
15723704
do_action( )
.../FrmFormActionsController.php:334
21
1.4730
15724080
WP_Hook->do_action( )
.../plugin.php:453
22
1.4730
15724080
WP_Hook->apply_filters( )
.../class-wp-hook.php:310
23
1.4730
15725208
FrmNotification::trigger_email( )
.../class-wp-hook.php:288
24
1.4732
15729688
FrmEmail->__construct( )
.../FrmNotification.php:21
25
1.4821
15826608
FrmEmail->set_message( )
.../FrmEmail.php:62
26
1.4828
15827024
FrmEntriesHelper::replace_default_message( )
.../FrmEmail.php:295
27
1.4828
15829048
FrmEntriesController::show_entry_shortcode( )
.../FrmEntriesHelper.php:158
28
1.4863
16344864
FrmProEntryFormatter->get_formatted_entry_values( )
.../FrmEntriesController.php:717
29
1.4863
16344864
FrmProEntryFormatter->prepare_html_table( )
.../FrmEntryFormatter.php:374
30
1.4863
16345048
FrmProEntryFormatter->add_field_values_to_content( )
.../FrmEntryFormatter.php:396
31
1.5513
16438184
FrmProFieldValue->prepare_displayed_value( )
.../FrmEntryFormatter.php:421
32
1.5513
16438184
FrmProFieldValue->filter_displayed_value( )
.../FrmProFieldValue.php:78
33
1.5516
16443464
_deprecated_function( )
.../FrmFieldValue.php:187
34
1.5516
16443784
trigger_error ( )
.../functions.php:3853
October 4, 2018 at 4:31 am
Doing a search on the server has found that it is in:
wp-content/plugins/formidable/classes/models/FrmEntryFormat.php: $val = apply_filters( 'frm_email_value', $prev_val, (object) $meta, $atts['entry'], $email_value_atts );
Discussion closed.