WordPress.org

Support

Support » Plugins and Hacks » Undefined index notices on form submission

Undefined index notices on form submission

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve had the same issue. Any luck on a fix?

    Found the error, the fix is to add the isset( ) around the $field['setParentPost'] portion, change line 65 to this:

    if ( $field['type'] == 'select' && isset( $field['setParentPost'] ) ) {

    Late to the party, but it seems this issue is still around. I have a slight variation on Joshua’s fix. I may be overly complicating this, but it occurs to me that that value could be set but set to 0 or FALSE.

    if ( $field[‘type’] == ‘select’ && ( ! empty($field[‘setParentPost’]) ) ) {

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index notices on form submission’ is closed to new replies.