Custom Fields
Support MB Admin Columns Undefined index in admin columns

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 2 years, 2 months ago.

  • Creator
  • #5750


    Hi, I’m using the Admin Columns plugin to display data from a dropdown. If there is nothing selected, the following notice displays: Notice: Undefined index: in /home/ubuntu/app/wp/wp-content/plugins/meta-box/inc/fields/choice.php on line 129

    Wrapping that block in an isset fixes the notice:

        if ( isset( $options[ $value ] ) ){
      	return $options[ $value ]->label;

    Thanks for all these great plugins!

Viewing 1 replies (of 1 total)
  • Author
  • #5753

    Anh Tran

    Hi FED, thanks for your feedback. I will update the code now.

Viewing 1 replies (of 1 total)

The topic ‘Undefined index in admin columns’ is closed to new replies.