After updating to Meta-Box version version 5.5.0, I am getting the following warning on a post field displayed using a select-advanced field-type with values populated with a query_args filter -- (is this why no one talks to me at cocktail parties?)
Warning: Parameter 2 to RWMB_Post_Field::search_by_title() expected to be a reference, value given in .../wp-includes/class-wp-hook.php on line 303
The field array used to generate the meta-box is as follows:
array (
'id' => $prefix . 'venue',
'type' => 'post',
'name' => 'Venues',
'class' => 'venue_live',
'std' => '',
'required' => 1,
'post_type' => 'venue',
'field_type' => 'select_advanced',
'query_args' => array(
'author' => SELF::get_current_user_id(),
),
'multiple' => true,
'placeholder' => 'Select Venue(s)'
),
The problem persists when the filed array is reduced to:
array (
'id' => $prefix . 'venue',
'type' => 'post',
'post_type' => 'page',
'name' => 'Venues',
),
I will now dig into the WP search_by_title function and back trace the issue, but though I would post here to see if this is a known issue.