Forum Replies Created

Viewing 1 replies (of 1 total)
  • I’m also experiencing the same issue.
    Our wordpress is hosted using nginx, so looking for an alternative rather than .htaccess file. I am getting both the ‘refill’ and ‘feedback’ error.

    I have tried disabling this line in plugin -> cf7 -> includes -> controller.php:
    if ( defined( ‘WP_CACHE’ ) && WP_CACHE ) {
    //$wpcf7[‘cached’] = 1;
    }

    I have also tried adding this to my theme -> functions.php file:
    function delete_refill_cf7() {
    ?>
    <script>
    if(wpcf7) {
    wpcf7.cached = 0;
    }
    </script>
    <?php
    }
    add_action(‘wp_after_admin_bar_render’, ‘delete_refill_cf7’);

    ** These two blocks of code do the same action **
    It only removes the ‘refill’ error, but not the ‘feedback’ error (which I get when I click the forms submit button).
    Would also be interested to hear any fixes for ‘feedback’ problem.

    Thanks in advance,
    Rebecca

    *** EDIT ***
    RESOLVED!!!
    A little bit more research and I have FOUND the solution…
    You need to add a ‘/’ on the end of these two folders:

    In contact-form-7 -> includes -> js ->scripts.js
    line 349 ‘/contact-forms/’ + wpcf7.getId( $form ) + ‘/feedback/’ ),
    line 457 ‘/contact-forms/’ + wpcf7.getId( $form ) + ‘/refill/’ ),

    THAT WAS it… good luck!

    Cheers,
    Rebecca

    • This reply was modified 5 years, 11 months ago by rcumberlege.
Viewing 1 replies (of 1 total)