• Hi.

    After last update of your plugin all my sites breaks ’cause multiple javascript error.
    List of errors is here:

    - Uncaught ReferenceError: _ is not defined at (index):501
    - Uncaught ReferenceError: wp is not defined at (index):504
    - Uncaught ReferenceError: wp is not defined at (index):505
    - Uncaught TypeError: Cannot read property 'apiFetch' of undefined at Object.<anonymous>

    When I have disabled the plugin, all works fine!

    Please fix ASAP!

    Regards.
    Davide.

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have the same problem .. old version works

    Same here, I have the “spinning wheel” issue. I just confirmed it’s due to the update.
    Dang it. ??

    Time to roll it back I guess.

    • This reply was modified 3 years, 9 months ago by martymcleod.
    Anonymous User 15141300

    (@anonymized-15141300)

    Same here, please fix it ASAP. The new plugin update breaks JS on sites.

    Thread Starter shecky

    (@shecky)

    Some good news?

    Thread Starter shecky

    (@shecky)

    After almost a month and a half the problem has not yet been solved and no one has yet replied to this post…

    Can we solve this problem or at least have some answers?

    Regards.
    Davide.

    I started getting the “Cannot read property ‘apiFetch’ of undefined at Object” after updating to 7.5.4. It turned out that api-fetch.min.js was being loaded after CF7’s scripts. Enqueuing wp-api-fetch earlier solved it.

    Hi everyone , I was facing the same issue, the solution I have found is to add a div with a screen-reader-response class between the div role=”form” and the form tag

    <div role=”form” class=”wpcf7″ id=”wpcf7-f115-o1″ lang=”es-ES” dir=”ltr”>

    <div class=”screen-reader-response”><p role=”status” aria-live=”polite” aria-atomic=”true”></p>

      </div>

      <form action=”” method=”post” class=”wpcf7-form” novalidate=”novalidate” name =”formx” id=”formx”>

      Same issue here (Contact Form installed version: 5.4.1).
      To whom it may concern, the error is in this minimized js file: wp-content/plugins/contact-form-7/includes/js/index.js
      See below:

      Uncaught TypeError: Cannot read property 'apiFetch' of undefined
          at Object.<anonymous> (index.js:1)
          at n (index.js:1)
          at Module.<anonymous> (index.js:1)
          at n (index.js:1)
          at index.js:1
          at index.js:1

      Please advise

    Viewing 8 replies - 1 through 8 (of 8 total)
    • The topic ‘Javascript ERROR – Fix ASAP’ is closed to new replies.