• Resolved elsmore

    (@elsmore)


    After upgrading to v3.2.22 and WooCommerce 8.5.2, no page will load unless I turn Process Javascript files under Minify OFF:

    “Uncaught TypeError: _ is undefined”

    ../wp-content/cache/wpo-minify/1706609873/assets/wpo-minify-footer-e076fdc0.min.js:247

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello

    With it switched on – in Minify >> Advanced >> Minify cache information please could you locate the wpo-minify-footer-e076fdc0.min.js under the list of JavaScript files and click Show information, what file names are shown?

    Thread Starter elsmore

    (@elsmore)

    Here you go:

    /wp-includes/js/hoverintent-js.min.js (1.68 KB) Exclude | Defer loading
    /wp-includes/js/admin-bar.min.js (3.45 KB) Exclude | Defer loading
    /wp-content/plugins/contact-form-7/includes/swv/js/index.js (10.86 KB) Exclude | Defer loading
    /wp-content/plugins/contact-form-7/includes/js/index.js (12.87 KB) Exclude | Defer loading
    /wp-content/plugins/front-end-pm/assets/js/notification.js (7.86 KB) Exclude | Defer loading
    /wp-content/plugins/mnwrs-plus/js/main.js (6.39 KB) Exclude | Defer loading
    /wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js (14.16 KB) Exclude | Defer loading
    /wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js (1.21 KB) Exclude | Defer loading
    /wp-includes/js/dist/vendor/wp-polyfill-inert.min.js (7.98 KB) Exclude | Defer loading
    /wp-includes/js/dist/vendor/regenerator-runtime.min.js (6.47 KB) Exclude | Defer loading
    /wp-includes/js/dist/vendor/wp-polyfill.min.js (112.43 KB) Exclude | Defer loading
    /wp-includes/js/dist/vendor/react.min.js (10.36 KB) Exclude | Defer loading
    /wp-includes/js/dist/hooks.min.js (4.52 KB) Exclude | Defer loading
    /wp-includes/js/dist/deprecated.min.js (729 bytes) Exclude | Defer loading
    /wp-includes/js/dist/dom.min.js (12.77 KB) Exclude | Defer loading
    /wp-includes/js/dist/vendor/react-dom.min.js (126.36 KB) Exclude | Defer loading
    /wp-includes/js/dist/escape-html.min.js (1.11 KB) Exclude | Defer loading
    /wp-includes/js/dist/element.min.js (12.35 KB) Exclude | Defer loading
    /wp-includes/js/dist/is-shallow-equal.min.js (1.07 KB) Exclude | Defer loading
    /wp-includes/js/dist/i18n.min.js (9.22 KB) Exclude | Defer loading
    /wp-includes/js/dist/keycodes.min.js (3.94 KB) Exclude | Defer loading
    /wp-includes/js/dist/priority-queue.min.js (3.36 KB) Exclude | Defer loading
    /wp-includes/js/dist/compose.min.js (36.67 KB) Exclude | Defer loading
    /wp-includes/js/dist/private-apis.min.js (2.63 KB) Exclude | Defer loading
    /wp-includes/js/dist/redux-routine.min.js (8.79 KB) Exclude | Defer loading
    /wp-includes/js/dist/data.min.js (26.70 KB) Exclude | Defer loading
    /wp-includes/js/dist/vendor/lodash.min.js (69.42 KB) Exclude | Defer loading
    /wp-content/plugins/woocommerce/assets/client/blocks/wc-blocks-registry.js (9.60 KB) Exclude | Defer loading
    /wp-includes/js/dist/url.min.js (9.40 KB) Exclude | Defer loading
    /wp-includes/js/dist/api-fetch.min.js (5.27 KB) Exclude | Defer loading

    Hello

    I would recommend clicking the Exclude link next to the three entries for WooCommerce and saving the list. This will automatically add them to the exclusion list. Please could you try this and see if the error re-occurs?

    Thread Starter elsmore

    (@elsmore)

    Thank you, excluding the 3 WooCommerce files removes the error.

    I’ve got the same errors.
    I’ve already excluded:
    /wp-content/plugins/woocommerce/assets/client/blocks/wc-blocks-registry.js
    /wp-includes/js/dist/url.min.js
    /wp-includes/js/dist/api-fetch.min.js

    And the only thing I can do to prevent those errors was to not defer javascipt files.

    Any help please?

    • This reply was modified 1 year, 1 month ago by grumo64.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘3.2.22 Minify Doesn’t work with WooCommerce’ is closed to new replies.