Home Forums Plugin Support WP User Frontend (Free Version) Upon Submitting form it hangs on loading sign

This topic is: resolved

This topic contains 28 replies, has 4 voices, and was last updated by  Tareq Hasan 5 years, 1 month ago.

Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #14267

    Tareq Hasan
    Keymaster
    Post count: 2831
    #14270

    JanMichael
    Member
    Post count: 8

    I've actually checked this video out before posting here. My issue seems to be that nothing is being requested to begin with. Nothing comes up in console. http://imgur.com/JfmLP8W

    However when I turn ON debugging i'm getting a bunch of errors in my header:

    Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /home/jkl75311/public_html/wp-includes/functions.php on line 3049

    Strict Standards: Declaration of WPUF_Walker_Category_Multi::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /home/jkl75311/public_html/wp-content/plugins/wp-user-frontend-pro/wpuf-functions.php on line 288

    Strict Standards: Declaration of WPUF_Walker_Category_Checklist::start_lvl() should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /home/jkl75311/public_html/wp-content/plugins/wp-user-frontend-pro/wpuf-functions.php on line 327

    Strict Standards: Declaration of WPUF_Walker_Category_Checklist::end_lvl() should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in /home/jkl75311/public_html/wp-content/plugins/wp-user-frontend-pro/wpuf-functions.php on line 327

    Strict Standards: Declaration of WPUF_Walker_Category_Checklist::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /home/jkl75311/public_html/wp-content/plugins/wp-user-frontend-pro/wpuf-functions.php on line 327

    Strict Standards: Declaration of WPUF_Walker_Category_Checklist::end_el() should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in /home/jkl75311/public_html/wp-content/plugins/wp-user-frontend-pro/wpuf-functions.php on line 327

    Strict Standards: Declaration of WPUF_Frontend_Form_Profile::submit_button() should be compatible with WPUF_Render_Form::submit_button($form_id, $form_settings, $post_id) in /home/jkl75311/public_html/wp-content/plugins/wp-user-frontend-pro/class/frontend-form-profile.php on line 410

    Warning: Cannot modify header information – headers already sent by (output started at /home/jkl75311/public_html/wp-includes/functions.php:3049) in /home/jkl75311/public_html/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63

    #14290

    JanMichael
    Member
    Post count: 8

    Can you offer any other solution?

    #14294

    Tareq Hasan
    Keymaster
    Post count: 2831

    Seems like you are running PHP 5.4? It has some issues. I'll give a fix for that.

    #14296

    JanMichael
    Member
    Post count: 8

    Thank you – can you provide a timeframe? I have a client breathing down my neck.

    #14299

    Tareq Hasan
    Keymaster
    Post count: 2831

    Can you download the plugin again? I pushed a fix for the PHP 5.4 strict standards error. Should be ok now.

    #14303

    JanMichael
    Member
    Post count: 8

    I downloaded vr 2.1.9 from the dashboard – this still hasnt' fixed the issue.

    #14320

    JanMichael
    Member
    Post count: 8

    Any further insight?

    #14321

    Tareq Hasan
    Keymaster
    Post count: 2831

    Please provide your site url, user login and password so we can check it. Also mark your reply as Private reply to keep it safe.

    #14332

    mostafamraafat
    Member
    Post count: 8

    Dear JanMichal,

    I finally found a solution for the problem. Its because of the php Mail method which wp uses for sending mail. So i installed WP-Mail-SMTP Plugin and made my mail server SMTP and that made everything work.

    Thank you ๐Ÿ™‚

    #14338

    JanMichael
    Member
    Post count: 8

    Tareq,

    http://www.deadbeat911.com/
    Username : test3
    PW : test3

    click the Edit button on this page http://www.deadbeat911.com/catering/test-complaint/

    #14367

    JanMichael
    Member
    Post count: 8

    I figured it out –

    Deleted the if statement from line 292 in /class/front-form-post.php

     
                // find our if any images in post content and associate them
                if ( !empty( $postarr['post_content'] ) ) {
                    $dom = new DOMDocument();
                    $dom->loadHTML( $postarr['post_content'] );
                    $images = $dom->getElementsByTagName( 'img' );
    
                    if ( $images->length ) {
                        foreach ($images as $img) {
                            $url = $img->getAttribute( 'src' );
                            $url = str_replace(array('"', "'", "\\"), '', $url);
                            $attachment_id = wpuf_get_attachment_id_from_url( $url );
    
                            if ( $attachment_id ) {
                                wpuf_associate_attachment( $attachment_id, $post_id );
                            }
                        }
                    }
                }
    
    #14383

    Tareq Hasan
    Keymaster
    Post count: 2831

    Aah, didn't have a clue about this one. Glad to know it solved your problem.

    #14392

    Tareq Hasan
    Keymaster
    Post count: 2831

    Can you download the plugin again? I pushed a fix for the PHP 5.4 strict
    standards error. Should be ok now.

Viewing 14 posts - 16 through 29 (of 29 total)

The topic ‘Upon Submitting form it hangs on loading sign’ is closed to new replies.