PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Invalid argument in common.php line 4309

  1. tabboy
    Member

    I seem to be having an issue with the function "get_radio_choices". I have a form with a list control that I populate one of the columns with selections using the following code in functions.php

    add_filter("gform_column_input_11_2_1", "set_column_input_food_diary", 10, 5);
    function set_column_input_food_diary($input_info, $field, $column, $value, $form_id){
        return array("type" => "select", "choices" => "Breakfast, Lunch, Dinner, Snack");
    }

    The options appear fine on the form and I can submit the form but when I display the results using the Directory plugin I get an error occuring.

    This only happens when I add more than one row to the list control.

    Any ideas??

    Posted 11 years ago on Monday April 29, 2013 | Permalink
  2. tabboy
    Member

    This is the error when I turn the debug in Wordpress on

    Notice: unserialize() [function.unserialize]: Error at offset 199 of 200 bytes in /home/healthch/public_html/wp-content/plugins/gravityforms/common.php on line 4303
    Warning: Invalid argument supplied for foreach() in /home/healthch/public_html/wp-content/plugins/gravityforms/common.php on line 4309
    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  3. David Peralty

    Have you contacted the developer of the directory plugin yet? Are you using the latest version of Gravity Forms?

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  4. tabboy
    Member

    I've posted it on the directory plugin page also just waiting for a response.... Using version 1.7.2 of Gravity Forms which is the latest.

    Posted 11 years ago on Thursday May 2, 2013 | Permalink