Problem with multiple selection fields

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 1 month ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
March 9, 2014 at 11:56 pm 16328
Tareq Hasan Hello, For some reason now, I am getting this error when rendering the form on pages. Warning: explode() expects parameter 2 to be string, array given in [... my render-form.php] on line 951. It's saying that the 2nd parameter 'explode' in $selected = $multiselect ? explode( self::$separator, $selected ) : $selected; is an array. It has been working fine before, so not sure why it's doing this. Any ideas? Thanks, Alex
March 10, 2014 at 2:31 am 16337
Tareq Hasan Tareq Hasan

Seems like it’s returning an array. But the get_post_meta is returning a single string, not sure. May be just disable WP_DEBUG for now? Seems weird!

Viewing 1 Posts - 1 through 1 (of 1 total)