Support » Plugin: WP User Frontend - Membership, Profile, Registration & Post Submission Plugin for WordPress » Can’t submit any new content (Submit spins and hangs)

  • Resolved Anticosti

    (@anticosti)



    Using:
    WP User Frontend Version 2.8.8
    WP User Frontend Pro – personal Version 2.8.1

    Can’t submit any new content (Submit button spins and hangs)

    To solve this issue, I had to revert to:
    WP User Frontend Version 2.8.7
    WP User Frontend Pro – personal Version 2.8.1

    Regards,

    • This topic was modified 4 months ago by  Anticosti.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Rafsun Chowdhury

    (@rafsuntaskin)

    @anticosti

    Can you please share the form settings that you used in the form that is causing problem in ?? If you had debug log on please share that as well.

    Thanks

    Anticosti

    (@anticosti)

    Using this combo:
    Using:
    WP User Frontend Version 2.8.8
    WP User Frontend Pro – personal Version 2.8.1

    I set:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    and in my “debug.log”, this is what I found relevant:

    [23-May-2018 13:49:13 UTC] PHP Notice:  Undefined index: wpuf_sortie_on in /home/user/public_html/site/wp-content/plugins/wp-user-frontend/class/render-form.php on line 286
    [23-May-2018 13:49:13 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WPUF_User_Subscription as array in /home/user/public_html/site/wp-content/plugins/wp-user-frontend/class/frontend-form-post.php:513
    Stack trace:
    #0 /home/user/public_html/site/wp-includes/class-wp-hook.php(286): WPUF_Frontend_Form_Post->submit_post('')
    #1 /home/user/public_html/site/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #2 /home/user/public_html/site/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /home/user/public_html/site/wp-admin/admin-ajax.php(99): do_action('wp_ajax_wpuf_su...')
    #4 {main}
      thrown in /home/user/public_html/site/wp-content/plugins/wp-user-frontend/class/frontend-form-post.php on line 513

    In next post, I’ll do the exact same test with the other combo:
    Using:
    WP User Frontend Version 2.8.7
    WP User Frontend Pro – personal Version 2.8.1

    Anticosti

    (@anticosti)

    I made this second test:

    The combo that works is:
    WP User Frontend Version 2.8.7
    WP User Frontend Pro – personal Version 2.8.1

    and it throws these notices:

    [23-May-2018 14:01:47 UTC] PHP Notice:  Undefined variable: post in /home/user/public_html/site/wp-content/plugins/wp-user-frontend/class/subscription.php on line 495
    [23-May-2018 14:01:47 UTC] PHP Notice:  Trying to get property of non-object in /home/user/public_html/site/wp-content/plugins/wp-user-frontend/class/subscription.php on line 495
    [23-May-2018 14:01:47 UTC] PHP Notice:  Undefined variable: post in /home/user/public_html/site/wp-content/plugins/wp-user-frontend/class/subscription.php on line 496
    [23-May-2018 14:01:47 UTC] PHP Notice:  Trying to get property of non-object in /home/user/public_html/site/wp-includes/post.php on line 6042
    
    Plugin Author Rafsun Chowdhury

    (@rafsuntaskin)

    I will take a look on this personally and resolve it within next release.

    We greatly appreciate your effort and thanks again for being with us.

    Anticosti

    (@anticosti)

    @rafsuntaskin Thank you 😉
    Much appreciated.

    Hi Rafsun,

    Any idea when the fix for this issue will be release…?

    Thanks again!

    @rafsuntaskin

    Just retried WP User Frontend Version 2.8.8
    Oh… just a hint for you:
    I just noticed that when you click on the Submit button, the post creation works. The Post will show in your Dasboard. The issue is coming from the fact that the form does not redirect you to the newly created post.

    Hope this may help you pinpoint the issue.

    Cheers,

    @rafsuntaskin Great News!
    Updating to WP User Frontend Version 2.8.9 fixed the issue.
    Grateful. Thank you so much.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.