Title: [Plugin: Gravity Forms Directory] Missing argument 3
Last modified: August 20, 2016

---

# [Plugin: Gravity Forms Directory] Missing argument 3

 *  Resolved [brianlockwood](https://wordpress.org/support/users/brianlockwood/)
 * (@brianlockwood)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/)
 * I had a directory listing which was working in the old version of “Gravity Forms”
   and old version “Gravity Forms Directory & Addons” but after running an update
   we get these errors for anything which has more then 200 characters.
 * “Warning: Missing argument 3 for RGFormsModel::get_field_value_long(), called
   in /home/howwhat/public_html/wp-content/plugins/gravity-forms-addons/gravity-
   forms-addons.php on line 3774 and defined in /home/howwhat/public_html/wp-content/
   plugins/gravityforms/forms_model.php on line 2207”
 * [http://wordpress.org/extend/plugins/gravity-forms-addons/](http://wordpress.org/extend/plugins/gravity-forms-addons/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [dawnmariez](https://wordpress.org/support/users/dawnmariez/)
 * (@dawnmariez)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680421)
 * ditto for over 2 weeks now…anyone have a quick fix other than reverting to pre-
   updated versions?
 *  [jjdualan](https://wordpress.org/support/users/jjdualan/)
 * (@jjdualan)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680443)
 * Any word on this problem? I’m experiencing the same thing.
 *  [jjdualan](https://wordpress.org/support/users/jjdualan/)
 * (@jjdualan)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680458)
 * I had a problem with the textarea entry getting truncated and I think it was 
   related to this issue. The problem is that on the new versions of Gravity forms
   the get_field_value_long() function is expecting to get passed 3 arguments and
   the first one is supposed to be an array. The directory addon is passing an integer
   ID.
 * I created a duplicate of the function and changed it to use a regular integer
   instead of an array, then called the new function from the directory addon and
   the truncating was fixed.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [Andreas Ostheimer](https://wordpress.org/support/users/helpstring/)
 * (@helpstring)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680464)
 * jjdualan, can you pastebin the code?
 *  [Andreas Ostheimer](https://wordpress.org/support/users/helpstring/)
 * (@helpstring)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680465)
 * Was the code something like the following?
 * 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.
 *  [colormehappy](https://wordpress.org/support/users/colormehappy/)
 * (@colormehappy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680503)
 * This worked great, no more warning message however the table is not displaying
   the entire entry. I set the max characters and selected ‘large’ field size but
   the entry is truncated in the table view display on the webpage. Any suggestions
   would be greatly appreciated. Thanks.
 *  Plugin Author [Zack Katz](https://wordpress.org/support/users/katzwebdesign/)
 * (@katzwebdesign)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680510)
 * This issue is fixed in a coming release.
 * [@colormehappy](https://wordpress.org/support/users/colormehappy/): try adding`
   fulltext="true"` to your shortcode.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Gravity Forms Directory] Missing argument 3’ is closed to new
replies.

 * ![](https://ps.w.org/gravity-forms-addons/assets/icon-256x256.jpg?rev=996787)
 * [Gravity Forms Directory](https://wordpress.org/plugins/gravity-forms-addons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-addons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-addons/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-addons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-addons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-addons/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [Zack Katz](https://wordpress.org/support/users/katzwebdesign/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-missing-argument-3/#post-2680510)
 * Status: resolved