Support

Account

Home Forums ACF PRO Conflict between ACF PRO and CF7

Solving

Conflict between ACF PRO and CF7

  • When ACF is activated on Page sending Contact Form 7 message gives me:
    VM174:1 POST https://www.some-website.org/wp-json/contact-form-7/v1/contact-forms/2584/feedback 403 (Forbidden)

    – Tried with default .htaccess
    – On this (Contact) Page template has only code for ACF PRO repeater with 4 simple text fields
    – None of field names clashes, from both plugins, they are different.
    – I disabled all other plugins on Page, on Page just those 2.
    – Same problem for logged and not logged visitors/Users.

  • – It gives the same error with default WP theme ( how if there is no ACF display code ? )
    – Maybe worth to mention on localhost i do not have this error.
    – Error comes only by clicking Send on CF7 form. And icon spin for ever.

  • Adding: add_filter( ‘wpcf7_load_js’, ‘__return_false’ ); to the functions.php solves problem. But then what is the point, those are CF7 necessary scripts.

    It is worth for developers to take a look into this problem. Both plugins are installed on plenty of websites. I will repeat most important points:

    – Theme makes no problem.
    – Other plugins make no conflict (I tested with only CF7 and ACF PRO activated on Page.)
    – With ACF PRO deactivated CF7 works and send mails.
    – Or better to say, with CF7 JS scripts deactivated.

    – Uoploaded again source files of latest WP, CF7, ACF PRO.
    – wp-config.php and .htaccess files are OK.
    – No cache remains folders around.
    – mu-plugins folder clear.
    – SSL certificate, seems as, working OK.
    – Definitely not problem with mod_security or server firewall (or ?)

    I do not know what plugin is a bit away from WP coding practices. But the fact is ACF PRO is influencing CF7 form functionality, not the other way around. CF7 makes no problems for ACF PRO. Not visible anyway.

    Here is more from console:

    VM1350:1 POST https://www.some-site.org/wp-json/contact-form-7/v1/contact-forms/2584/feedback 403 (Forbidden)
    (anonymous) @ VM1350:1
    send @ jquery.js:4
    ajax @ jquery.js:4
    wpcf7.submit @ scripts.js:348
    (anonymous) @ scripts.js:56
    dispatch @ jquery.js:3
    r.handle @ jquery.js:3

    Hitting antispam filter on forum. Just to ad one more sentence to try again.

  • Sorry, I dare not to touch previous comment again, filter will kick in.

    This is a bit false, wrongly worded:

    – With ACF PRO deactivated CF7 works and send mails.
    – Or better to say, with CF7 JS scripts deactivated.

    – CF7 works nice with all CF7 JS scripts called on Page, without ACF PRO.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Conflict between ACF PRO and CF7’ is closed to new replies.