• Hello,
    I am using the Astra theme and version 5.7.2 of WordPress. I have just installed Contact form 7 Version 5.4.1 but I’m having trouble sending the form.

    I get this error when clicking on send:
    Failed to load resource: the server responded with a status of 404 (Not Found)

    I have Wordfence installed, tried deactivating the plugin, but with the same result.
    Other plugins that’s also activated on my site are:

    Admin Bar Disabler
    	
    Contact Form 7
    
    Course Scheduler for LearnDash	
    
    Design Upgrade for LearnDash
    
    Display PHP Version
    
    Duplicate Page
    
    Elementor
    
    GDPR Cookie Consent
    	
    Import and export users and customers
    
    LearnDash LMS
    	
    LearnDash LMS - Certificate Builder
    
    LearnDash LMS - Course Grid
    	
    LearnDash LMS - Notifications
    
    LearnDash LMS - Zapier Integration
    
    LearnDash Multilingual Integration
    
    LearnDash ProPanel
    	
    MySQL Version Display Footer
    
    Perfect Survey
    
    Polylang
    
    ProfilePress
    
    Starter Templates
    
    Ultimate Addons for Gutenberg
    
    User Role Editor
    
    Wordfence Security
    
    WP Mail Logging
    
    WP Mail SMTP
    
    WP Maintenance Mode
Viewing 11 replies - 1 through 11 (of 11 total)
  • ciao @nilssonline,

    can i have a look at the site? i would need to know more info, i don’t understand which file is not found.

    Thread Starter nilssonline

    (@nilssonline)

    Hey @codekraft, Yes of course. I will delete the link once you’ve confirmed getting to the site
    Website link

    • This reply was modified 3 years, 6 months ago by nilssonline.

    code: “rest_no_route”
    data: {status: 404}
    message: “Ingen route hittades som motsvarade webbadressen och metod f?r beg?ran.”

    It seems you are unable to send emails, I think it is a server related problem. I guess you can’t send mail with wordpress, is that right? (e.g. a new user)

    Thread Starter nilssonline

    (@nilssonline)

    Hello,
    No that’s just it, It’s weird cause I can send emails from the website. All email notifications work both from WP and LD notifications. I’m using SMTP plugin to send emails, If that changes anything?

    I think it’s correct to use a smtp plugin in your case! the most used one has a test mail function try with it.

    Thread Starter nilssonline

    (@nilssonline)

    Yeah, it’s only the contact 7 form that’s the problem. Everything else works great!

    no maybe we misunderstood… cf7 doesn’t send mails because wp_mail can’t send (it needs an smtp plugin).

    try now, with the smtp plugin installed, cf7 most probably works.

    Thread Starter nilssonline

    (@nilssonline)

    I’ve had SMTP installed the entire time. Is there some specific integration between them that has to be made? As the rest of the emails from the site can be sent out.

    maybe server or cors related issue, form configuration issue…

    to debug this, give a try with my test script, I created a gist to test the functionality of wp_mail(), the same way cf7 works.

    https://gist.github.com/erikyo/1b20572dfae676a20a6b888ab35c40f4

    add it to functions.php and change the variable to mail. Every time you reload the page it sends you an email, if not check the log

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @nilssonline Sorry, where is there a security issue on this topic? You reported it for that.

    If you mean you want your link deleted then I’m sorry, but no. That is only done in extreme cases.

    https://www.ads-software.com/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-post

    Search engine hits are never considered extreme. The post will not be edited or deleted.

    @nilssonline don’t worry, it’s just a small script you can also find on WP Code Reference

    I simply made it so that you could easily configure it and, in addition, it would print out errors in the debug.log

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Contact form 7 “Failed to load resource:”’ is closed to new replies.