• Resolved aces

    (@aces)


    Both of the following ( redacted with … ) started appearing on metabox v 4.5.1 and still happens on 4.5.2 ( wp 4.2.2 ) using the debug bar plugin.

    I don’t think it’s causing any actual problems but the notices get in the way.

    NOTICE: C:\...\wp-content\plugins\meta-box\inc\field.php:419 - Undefined index: clone
        require('C:\...\wp-blog-header.php'), require_once('C:\...\wp-includes\template-loader.php'), include('C:\...\wp-content\plugins\...\single-venue.php'), include('C:\...\wp-content\plugins\...\venue-loop.php'), venuemap, rwmb_meta, RWMB_Helper::meta, RWMB_Map_Field::the_value, RWMB_Map_Field::get_value, RWMB_Field::get_value
        NOTICE: C:\...\wp-content\plugins\meta-box\inc\field.php:423 - Undefined index: clone
        require('C:\...\wp-blog-header.php'), require_once('...\wp-includes\template-loader.php'), include('C:...\wp-content\plugins\...\single-venue.php'), include('C:\...plugins\...\venue-loop.php'), venuemap, rwmb_meta, RWMB_Helper::meta, RWMB_Map_Field::the_value, RWMB_Map_Field::get_value, RWMB_Field::get_value

    https://wordpress.org/plugins/meta-box/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Anh Tran

    (@rilwis)

    I’ve just fixed it on Github. New version will be released soon.

    FYI: it’s better to use rwmb_get_field function to get meta value. This function works similarly like rwmb_meta, except we don’t have to pass field type and other field information to the function. It finds field with all info and returns correct value. I will update documentation soon.

    Thread Starter aces

    (@aces)

    Thanks.

    I look forward to the updated documentation….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: clone’ is closed to new replies.