Home Forums Plugin Support WP User Frontend Pro Problem with multiple selection fields

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #16328

    Post count: 27


    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?



    Tareq Hasan
    Post count: 2831

    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 2 posts - 1 through 2 (of 2 total)

The topic ‘Problem with multiple selection fields’ is closed to new replies.