Contact Form not working

This topic contains 13 replies, has 5 voices, and was last updated by  Tim Sanford 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #477163

    Tim Sanford
    Full Member
    Post count: 157

    Hi,

    When I attempt to send a message via “contact business” in the sidebar, the form does not open/load. It used to work.

    Not sure when this may have occurred but it was between recently and March 2.

    #477164

    Tim Sanford
    Full Member
    Post count: 157
    This reply has been marked as private.
    #477166

    Guust
    Moderator
    Post count: 29970

    I alerted one of the developers to have a look. I can see the error but can’t find why.
    Thanks

    #477179

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #477357

    Tim Sanford
    Full Member
    Post count: 157

    I’ve determined there is plugin conflict with “Essential Grid” – while active, form won’t load.

    I’ve sent a support ticket to Ninja to see what they come back, while also referring to the console, noticed this specified; “geodir_ninja_forms”. Img attached

    Might it be the case the issue is caused by the geo/ninja integration?

    #477359

    Paolo
    Site Admin
    Post count: 31206

    A developer has been alerted and he’ll let you know what he finds asap.

    Thanks

    #477375

    Tim Sanford
    Full Member
    Post count: 157

    Thank you for looking into this

    #477436

    Kiran
    Moderator
    Post count: 7069

    Hello Tim,

    I tried “Essential Grid” plugin on my test site but issue not replicated there.

    On your site WP Media library is not loaded on Ninja Forms. Please try following snippet and let us know how it goes.

    
    
    function gd_snippet_scripts_enqueue_media() {
    	if ( ! empty( $_REQUEST['action'] ) && $_REQUEST['action'] == 'geodir_ninja_forms' ) {
    		wp_enqueue_media();
    	}
    }
    add_action( 'admin_enqueue_scripts', 'gd_snippet_scripts_enqueue_media' );
    add_action( 'wp_print_scripts', 'gd_snippet_scripts_enqueue_media' );

    Kiran

    #477503

    Tim Sanford
    Full Member
    Post count: 157

    I tried adding to both separately;
    – functions.php
    – theme’s custom js section

    and neither worked 🙁

    #477530

    Alex Rollin
    Moderator
    Post count: 27815
    #477679

    Tim Sanford
    Full Member
    Post count: 157

    That didn’t work either

    #477687

    Tim Sanford
    Full Member
    Post count: 157

    If it helps at all, the “Claim business” button/link which is also generated by Ninja forms works just fine.

    #477782

    Kiran
    Moderator
    Post count: 7069

    Hello Tim,

    I have modified snippet under Snippets > Ninja forms – load content

    
    
    function gd_snippet_fix_conflict_essential_grid() {
    	if ( ! empty( $_REQUEST['action'] ) && $_REQUEST['action'] == 'geodir_ninja_forms' ) {
    		remove_all_actions( 'print_media_templates');
    	}
    }
    add_action( 'init', 'gd_snippet_fix_conflict_essential_grid' );

    Now contact form is working fine.

    Please check and let us know.

    Regards,
    Kiran

    #477951

    Tim Sanford
    Full Member
    Post count: 157

    You are a tremendous help, thank you!

    You guys rock!

Viewing 14 posts - 1 through 14 (of 14 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount