Failed to load resource: 409 (Conflict) - wordpress

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!!

You can use config.php
define ('WPCF7_LOAD_JS', false );
define('WPCF7_LOAD_CSS', false);

Add the below line in .htaccess file:
RewriteCond %{REQUEST_URI} !^/wp-json

Add this lines in wp-config.php.
add_filter( 'wpcf7_load_js', '__return_false' );
add_filter( 'wpcf7_load_css', '__return_false' );

See exact error by enabling error reporting
edit wp-config.php
edit below code
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
see what error is showing then resolve it.

This fixed my issue .
This might not work for all , but you can give it a try..
Clear Cookies using Edit Cookie Chrome Extension or Using Clear Site data from Dev tools...
Then, Re login to Wordpress and Clear WP cache, if you are using any plugin or if clear hosting cache, Now check your contact forms .

Just Add this line in your wp-config.php
define ('WPCF7_LOAD_JS', false );

Related

How do I troubleshoot status code 500 error for admin-ajax.php

I'm getting a status code 500 error when submitting a form on my WordPress website and I was wondering where I can even begin to look into what is causing the error?
You can on the debug mode with WP_DEBUG_LOG true. After your ajax request your error will be dumped on debug file inside uploads folder.
Here is the sample on wp-config.php file.
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
To know more on this please visit Debugging in WordPress
Note: Please be sure you are adding wp_die() after the complete ajax statement.
Thanks

Unable to get to wp-admin log in page

Hi I have recently tried to log in to my site and I keep getting the following error:
Warning: Cannot modify header information - headers already sent by
(output started at
/homepages/6/d700752663/htdocs/clickandbuilds/OnyxMotorsCompany/wp-content/themes/cardealer/includes/base_functions.php:1)
in
/homepages/6/d700752663/htdocs/clickandbuilds/OnyxMotorsCompany/wp-includes/pluggable.php
on line 1210
I have not made any changes to website. The website itself works fine however I cannot get to wordpress dashboard either via wp-login and wp-admin.
Any idea? Thank you
Open base_functions.php & try and add following code on top.
<?php ob_start(); ?>
You have already marked path to file: /homepages/6/d700752663/htdocs/clickandbuilds/OnyxMotorsCompany/wp-content/themes/cardealer/includes/base_functions.php
I hope it will help.

Can't access WP-Admin page because of error

I am trying to edit a website I made in Wordpress, but when I go to the example.com/wp-admin/ to get to the Admin,
I get the errors, and so there is no way to go into Wordpress to edit the site.
I even changed the WP Theme back to the default TwentyTen through PHPMyAdmin, but that didn't help.
What can I do? Here is what I get when I try to go to wp-admin page:
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/content/80/13163980/html/ybk/wp-includes/functions.php on line
3547
Notice: Undefined index: page in
/home/content/80/13163980/html/ybk/wp-content/themes/rt_infuse_wp/functions.php
on line 45
Notice: Undefined index: page in
/home/content/80/13163980/html/ybk/wp-content/themes/rt_infuse_wp/functions.php
on line 55
Warning: Cannot modify header information - headers already sent by
(output started at
/home/content/80/13163980/html/ybk/wp-includes/functions.php:3547) in
/home/content/80/13163980/html/ybk/wp-includes/pluggable.php on line
1178
I just set WP_DEBUG mode to false and that skipped it all and got me to the WP-Admin login page.
Just find the pluggable.php and after <?php please add this ob_start(); and save. That should work.
Warning: Cannot modify header information - headers already sent by
Removing "blank lines" from function.php file and check it now issue is as it is than after check plugin folder >> disable plugin and check
Refresh your Browser, and the original error message Should go away.

WP Super Cache caching broken

I am having an ambiguous error. The path in the error is correct:
Warning! WP Super Cache caching broken! The script advanced-cache.php
could not load wp-cache-phase1.php.
Please edit /wp-content/advanced-cache.php
and make sure the path to
/wp-content/plugins/wp-super-cache/wp-cache-phase1.php
is correct.
What needs to be fixed?
The problem is that the constant is not defined until after the plugin loads. This error is possible if the line "require_once(ABSPATH . 'wp-settings.php');" is present in wp-config.php . WPCACHEHOME is probably being defined after this line, but needs to be defined above it:
define( 'WPCACHEHOME', '<site root>/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
require_once(ABSPATH . 'wp-settings.php');
http://wangweiqiang.net/warning-wp-super-cache-caching-broken-the-script-advanced-cache-php-could-not-load-wp-cache-phase1-php/
This worked like a charm for me...!
This is a permission issue, U should check that the paths mantioned in the error notice have 777 permisions, BUT, my advice on this issue is simply to NOT use this plugin, I had it installed on some of my site, and almost in all of them it caused errors on diffrent elements on my site.
I'm not saying that using this plugin will cause problems for sure, but this plugin is known as problematic, and for my opinion it doesn't justify itself.
Please use this in your wp-config.php file
define('WPCACHEHOME', dirname(__FILE__) . '/wp-content/plugins/wp-super-cache/');
before
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');

wp_redirect works on localhost but conflicts not on my host

I'm having a weird problem, I have the following code in my page.php template file:
if (is_page('redirect')) :
wp_redirect( get_option('home') );
else:
//Do something else
endif;
This works fine on my localhost, but when I upload it to my server it gives me the Headers already sent by pluggable.php, I understand there must be no output before calling this function but there isn't! Also I disabled my only plugin installed (buddypress) and nothing, there must be something on my host because otherwise it woudln't work on my localhost either.
Does anyone know what could be wrong??
Thanks in advance
Nvm, for some reason I updated WP to 3.1 and it fixed.

Resources