Bug related to dates?
-
Hey so I’m testing out the plugin with a form that has a bunch of “if this, show this” options, and I’m encountering this error:
Warning: str_replace() expects at least 3 parameters, 2 given in /…/public_html/wordpress/wp-content/plugins/gravity-forms-wcag-20-form-fields/gravity_forms_wcag20_form_fields_plugin.php on line 179
I checked the line and the bit of code that it’s referring to is this:
$content = str_replace("<label class='gfield_label' >".$field_label."<label class='gfield_label' for='input_".$form_id."_".$field_id."' >".$field_label." <span id='field_".$form_id."_".$field_id."_dmessage' class='sr-only'> - " . sprintf( __( 'must be %s format', 'gfwcag' ), $date_format ) . "</span>",$content );
Any fixes?
https://www.ads-software.com/plugins/gravity-forms-wcag-20-form-fields/
- The topic ‘Bug related to dates?’ is closed to new replies.