WordPress.org

Forums

Gravity Forms Directory
Invalid argument in common.php line 4309 (1 post)

  1. Andrew Schultz
    Member
    Posted 2 years ago #

    WordPress version: 3.5.1
    Gravity Forms Directory version: 3.4.1

    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 occurring.

    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

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

    Any ideas??

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms Directory
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Andrew Schultz
  • This topic is not resolved
  • WordPress version: 3.5.1