Failed to load resource: 409 (Conflict)

14,946

Solution 1

You can use config.php

define ('WPCF7_LOAD_JS', false );
define('WPCF7_LOAD_CSS', false);

Solution 2

Add the below line in .htaccess file:

RewriteCond %{REQUEST_URI} !^/wp-json
Share:
14,946
anurup chakraborty
Author by

anurup chakraborty

Updated on June 04, 2022

Comments

  • anurup chakraborty
    anurup chakraborty almost 2 years

    I have get an error on my website: http://anthologymdjs.com/ I have tried to deactivate all plugin except contact form 7, and activate 2019 theme, but this error is still existed. The error is :

    GET http://anthologymdjs.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.0.5 net::ERR_ABORTED 409 (Conflict)

    GET http://anthologymdjs.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.0.5 net::ERR_ABORTED 409 (Conflict)

    Has anyone received this type of error, and if so, can you tell me how you fixed it and what was the root cause? Any help is greatly appreciated. Thanks!!

    • GreatBlakes
      GreatBlakes almost 5 years
      I'm having this same problem. I tried reinstalling CF7 as well as reverting to several versions prior (5.0.3 and 4.9.2) and neither worked. I also reset my .htaccess file with no luck either. So far the only answers to this post are to disable JavaScript which are not acceptable solutions. We need the JavaScript to work. I'm hoping someone has an idea. In the WP plugin support forums, the plugin developer has not had any recommendations outside of what @anurup and myself have already tried.
    • GreatBlakes
      GreatBlakes almost 5 years
      This is happening in all browsers, but Firefox clarified the message with "The script from “.../wp-content/plugins/contact-form-7/includes/js/scripts.j‌​s?ver=5.1.1” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type." Perhaps this is a clue?
    • Davison Joseph
      Davison Joseph about 2 years
      This is something related to mod_security. Check the configuration.
  • Jonathan Kempf
    Jonathan Kempf over 5 years
    Vikas, thanks for contributing to StackOverflow. If you could please provide more context around why this answer should solve the question, that would go a long way toward educating other users why this should be an accepted answer to this particular case.
  • Vikas Jain
    Vikas Jain over 5 years
    can you please try to install a plugin called "disable rest api" and in the settings check all the options under "contact-form-7/v1". You might need this due to the rest apis permission issue.
  • Liko
    Liko about 5 years
    It helps, but it would be nice if you add some details. Here it's how to add the script only in the contact page: contactform7.com/…
  • KoolPal
    KoolPal almost 5 years
    @VikasJain: Tried this plugin. No benefit. The same error continues.
  • Purnendu Sarkar
    Purnendu Sarkar over 4 years
    Also, Check this link. contactform7.com/…
  • Purnendu Sarkar
    Purnendu Sarkar about 4 years
    Wellcome @Altin