WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Conflict with Widget Logic (4 posts)

  1. TakeoK
    Member
    Posted 8 months ago #

    The latest versions of WordPress, Contact Form 7 and Widget Logic don't get along. Forms don't submit (spinning wheel "bug"). The only way to get past the spinning wheel is to disable Widget Logic.

    http://wordpress.org/plugins/contact-form-7/

  2. Locally
    Member
    Posted 4 months ago #

    Hi,

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

    to wp-config.php the problem goes away

  3. buzztone
    Member
    Posted 4 months ago #

    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.

  4. Locally
    Member
    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.