Support » Plugin: Real Time Validation for Gravity Forms » conflict with Yoast SEO Plugin

  • i have this problem when loading a form:
    Warning: Cannot modify header information - headers already sent by (output started at /home/osamehco/public_html/wp-content/plugins/real-time-validation-for-gravity-forms/public/class-gravity-forms-live-validation.php:375) in /home/osamehco/public_html/wp-includes/pluggable.php on line 1216

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am also having the same problem.

    Plugin Author Amritansh Trivedi

    (@amritanshatwisetr)

    Hi @hrezaei,

    We tried to replicate this issue on our end but unable to do so.

    Could you please show us this issue live on some working URL. That would be really helpful.

    Thanks!

    For some reason, it creates that error in some environments. For example on my local environment I don’t have the error, but in the online environment, the error is displayed.

    For now, I applied this temporary fix, in the child theme functions.php:

    add_action('init',function(){
    	if (class_exists('Gravity_Forms_Live_Validation') && is_admin()) {
    		$gf_live_validation = Gravity_Forms_Live_Validation::get_instance();
    		remove_filter('gform_pre_render',array($gf_live_validation,'lv_apply_validations_to_form'));
    	}
    });

    The method “lv_apply_validations_to_form” does some output of data in back-end and I assume this method needs to be used only in front-end forms.

    To replicate the issue:
    – Create a demo form ( add some fields, some required );
    – Make sure Real-time validation is active in that form;
    – Go and add a new POST, add the form shortcode into content and save;
    – In some environments, you will get the error or white screen ( if debug is told to write into debug.log file );

    I’m not sure it’s only the PHP version, it might be PHP configuration also(php.ini options? )

    – In my online environment, I have PHP 7.1.14 and the error exists.
    – In localhost I have 7.2.0 ( and the error does not appear ). On localhost I use LocalByFlyWheel.

    Nice plugin @amritanshatwisetr, keep it up 🙂

    • This reply was modified 2 years, 6 months ago by Mihai Irodiu.
    Plugin Author Amritansh Trivedi

    (@amritanshatwisetr)

    Hi @mihaiirodiu,

    Thank you for your kind words and details explanation.

    We were working on this issue and we have released a new version today, that will solve this issue.

    Thank You,
    Amritansh Trivedi

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘conflict with Yoast SEO Plugin’ is closed to new replies.