WP User Frontend
Category select box shows array! (3 posts)

  1. wzshop
    Posted 2 years ago #

    Hi there,
    Nice plugin but i guess ive found a bug. When you use the selectbox for the category of the post, fill in all the fields except the category checkbox, it shows an array like:
    array(9) { ["_wpnonce"]=> string(10) "6271f17f1b" ["_wp_http_referer"]=> string(15) "/add-a-new-song" ["cf_Artist"]=> string(6) "dasdas" ["cf_youtubeurl"]=> string(42) "http://www.youtube.com/watch?v=9NSm5nD9_k0" ["wpuf_post_title"]=> string(6) "dasdas" ["wpuf_post_content"]=> string(9) "tyutyutyu" ["wpuf_post_tags"]=> string(0) "" ["wpuf_post_type"]=> string(4) "post" ["wpuf_post_new_submit"]=> string(3) "yes" }

    And the message
    Please choose a category

    Any ideas how to fix this?


  2. dgrebb
    Posted 2 years ago #

    I'm having the same issue. Has a solution been found?

  3. dgrebb
    Posted 2 years ago #

    Tracked this down to what looks like an mistakenly uncommented line. Looks like it was in there for testing, but serves no purpose to the actual plugin.

    Line 298 of wp_user_frontend/wp-add-post.php: var_dump( $_POST ); puts out the array of post data. Comment that out and you should be good to go.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic