• Resolved tomtyrrell

    (@tomtyrrell)


    Version 7.8.2 minify javascript causing some Gravity forms to not appear on some pages. Still works on other pages. WordPress version 7.1

    Getting these errors. Turned off minify javascript and the errors cleared.

    api-fetch.min.js:3 Uncaught TypeError: (0 , C.__dangerousOptInToUnstableAPIsOnlyForCoreModules) is not a function
    at api-fetch.min.js:3:947
    at api-fetch.min.js:3:7310
    at api-fetch.min.js:6:3

    wp-api-fetch-js-after:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘use’)
    at wp-api-fetch-js-after:1:14

    siteground-optimizer…c7344a8f661fc.js:47 JQMIGRATE: Migrate is installed, version 3.4.1

    siteground-optimizer…7344a8f661fc.js:934 Uncaught TypeError: Cannot read properties of undefined (reading ‘use’)
    at siteground-optimizer…a8f661fc.js:934:731
    at siteground-optimizer…8f661fc.js:934:1566
    

Viewing 1 replies (of 1 total)
  • Plugin Support kamenk

    (@kamenk)

    Hello,

    When JavaScript minification or combination causes interactive forms to stop responding, it usually indicates that one or more form scripts are incompatible with these optimization features.

    The simplest solution is to exclude the Gravity Forms scripts from JavaScript optimization. Since each website uses a different combination of themes and plugins, I cannot identify the exact file without reviewing the site. However, you can safely test script exclusions by following this guide:

    https://eu.siteground.com/tutorials/wordpress/speed-optimizer/frontend-optimization/#minify-css-js-html

    Refer to the section about excluding JavaScript files, and add the main Gravity Forms scripts to the exclusion list. Files containing terms such as gform or gravityforms in their names are good starting points.

    If you have a SiteGround account and need further assistance, please submit a support request through your SiteGround Client Area. This will allow our support team to review the issue and assist you directly.

    Best regards,
    Kamen Kumanov

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.