WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » Conflict with Widget Logic

Conflict with Widget Logic

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    it seems if you add
    define( 'WPCF7_LOAD_JS', false );

    to wp-config.php the problem goes away

    The spinning arrow is a common symptom of a Javascript conflict with either your current WordPress theme or one of the other plugins you are using – see Contact Form 7 Email Issues – there is a link there that covers Javascript Conflicts.

    You can stop Contact Form 7 loading any JavaScript

    When the value of WPCF7_LOAD_JS is set to false (default: true), Contact Form 7 does not load the JavaScript. You can set the value of this constant in your wp-config.php like this:

    define('WPCF7_LOAD_JS', false);

    See http://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/

    ​You will lose all of CF7’s Javascript functionality and of course the real cause is the theme or other plugin which I would definately regard as poorly written and avoid using.​​

    I note I am using ​​Widget Logic with Contact Form 7 on a couple of sites without problems, so I expect the real cause of the problem may be elsewhere – perhaps in your WP theme.

    Perhaps I wasn’t that clear. I found the above define whilst trying to solve my own problem, but badly written theme or plugin is not the reason (I say not the reason, in as far as my investigations to-date, never say never)

    The problem started when the site was upgraded up to latest version of all plugins / wordpress.

    The problem disappeared when all plugins were disabled.

    By enabling plugins 1 by 1 I identified that widget_logic enabled meant the wheelspun.

    The theme is twenty ten, with no custom functions.php.

    Latest versions of CF7 & Widget logic WP 3.8.1

    I created a completely new install of 3.8.1 and added CF7 and Widget logic, and I could not recreate the issue in that new environment.

    Its is not something I’ll likely be able to get to the bottom of quickly, as I will have to clone the live site into a test and start dissecting that piece by piece.

    But with all plugins apart form CF7 & WL on the live site has a problem so eliminates bad plugin code. And Twenty Ten eliminates bad theme code.

    SO that leaves me with content, which is a possibility, as there are afew text widgets, but I can’t dissect them in live.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with Widget Logic’ is closed to new replies.
Skip to toolbar