Hi,
This is a quick fix:
1. Edit bp-profile-search/bps-start.php
2. Go to line 75
function bps_meta ($form)
{
static $options;
if (isset ($options[$form])) return $options[$form];
$default = array ();
$default['field_code'] = array ();
$default['field_label'] = array ();
$default['field_desc'] = array ();
$default['field_mode'] = array ();
$default['method'] = 'POST';
$default['action'] = 0;
$default['directory'] = 'Yes';
$default['template'] = bps_default_template ();
$default['template_options'][$default['template']] = array ();
$meta = get_post_meta ($form);
$options[$form] = isset ($meta['bps_options'])? unserialize ($meta['bps_options'][0]): $default;
return $options[$form];
}
replace unserialize with maybe_unserialize
Before:
$options[$form] = isset ($meta['bps_options'])? unserialize ($meta['bps_options'][0]): $default;
After:
$options[$form] = isset ($meta['bps_options'])? maybe_unserialize ($meta['bps_options'][0]): $default;
save changes.
It should fix the error.
Thanks.