WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Directory
[resolved] error message: ...Missing argument 3 for RGFormsModel::get_field_v (6 posts)

  1. dawnmariez
    Member
    Posted 2 years ago #

    using Gravity Forms Version 1.6.3.3.4 and Gravity Forms Directory & Addons Version 3.2.2 I am getting following error message repeated for every row of each directory on the page prior to displaying full directory table.

    Warning: Missing argument 3 for RGFormsModel::get_field_value_long(), called in D:...\plugins\gravity-forms-addons\gravity-forms-addons.php on line 3774 and defined in D:...\plugins\gravityforms\forms_model.php on line 2207.

    Help with a quick fix? Thanks! DZ

    http://wordpress.org/extend/plugins/gravity-forms-addons/

  2. Andreas Ostheimer
    Member
    Posted 1 year ago #

    Same problem here.
    Warning: Missing argument 3 for RGFormsModel::get_field_value_long(), called in...

    Gravity Forms Directory & Addons Version 3.2.2
    Gravity Forms Version 1.6.3.3.4

  3. Andreas Ostheimer
    Member
    Posted 1 year ago #

    I have update get_gf_field_value_long in gravity-forms-addons.php to

    // To retrieve textarea inputs from a lead
    		// Example: get_gf_field_value_long(22, '14');
    		function get_gf_field_value_long($leadid, $fieldid) {
    			$leadid_arr = array(id=>$leadid);
    			return RGFormsModel::get_field_value_long($leadid_arr, $fieldid, 1);
    		}

    in order to provide the array for the first argument and a third one.
    Works.

  4. dawnmariez
    Member
    Posted 1 year ago #

    THANK YOU!!!!

  5. Andreas Ostheimer
    Member
    Posted 1 year ago #

    Glad I could help.

  6. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    This is fixed in the next release, coming soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic