WordPress.org

Ready to get started?Download WordPress

Forums

Magic Fields 2
[resolved] PHP Notice: Undefined index: div_class (3 posts)

  1. Roberto Entringer
    Member
    Posted 1 year ago #

    There is a small problem with the new version 2.1

    Menu link Add Post Type : /wp-admin/admin.php?page=mf_dispatcher&mf_section=mf_posttype&mf_action=add_post_type

    PHP Notice:

    Undefined index: /wp-content/plugins/magic-fields-2/admin/mf_posttype.php on line 442

    Anyone ever notice that? Or is it just a problem in my installation.

    Thanks,
    Roberto.

    http://wordpress.org/extend/plugins/magic-fields-2/

  2. Roberto Entringer
    Member
    Posted 1 year ago #

    Resolved:

    Edit mf_posttype.php on line 92 and add key "div_class" in array "quantity"

    'quantity' => array(
    'id' => 'posttype-quantity',
    'type' => 'checkbox',
    'label' => __( 'Quantity', $mf_domain ),
    'name' => 'mf_posttype[core][quantity]',
    'value' => 0,
    'description' => __( 'mark true if you want your post type only has one element.', $mf_domain ),
    'div_class' => ''
    )

  3. hunk
    Member
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic