• Resolved homepagehelden

    (@homepagehelden)


    With your Update and JavaScript optimizations you broke our WooCommerce webstore.

    wp-util.min.js?ver=6.8.3:2 Uncaught TypeError: _.memoize is not a function
    at wp-util.min.js?ver=6.8.3:2:112 at wp-util.min.js?ver=6.8.3:2:1383 (anonymous) @ wp-util.min.js?ver=6.8.3:2 (anonymous) @ wp-util.min.js?ver=6.8.3:2 add-to-cart-variation.min.js?ver=10.3.5:1

    Uncaught TypeError: wp.template is not a function
    at o (add-to-cart-variation.min.js?ver=10.3.5:1:14514) at r.onFoundVariation (add-to-cart-variation.min.js?ver=10.3.5:1:6747) at HTMLFormElement.dispatch (jquery.min.js?ver=3.7.1:2:40035) at v.handle (jquery.min.js?ver=3.7.1:2:38006) at Object.trigger (jquery.min.js?ver=3.7.1:2:70124) at HTMLFormElement. (jquery.min.js?ver=3.7.1:2:70726) at ce.each (jquery.min.js?ver=3.7.1:2:3129) at e..each (jquery.min.js?ver=3.7.1:2:1594) at e..trigger (jquery.min.js?ver=3.7.1:2:70701) at r.onFindVariation (add-to-cart-variation.min.js?ver=10.3.5:1:5750) o @ add-to-cart-variation.min.js?ver=10.3.5:1 r.onFoundVariation @ add-to-cart-variation.min.js?ver=10.3.5:1 dispatch @ jquery.min.js?ver=3.7.1:2 v.handle @ jquery.min.js?ver=3.7.1:2 trigger @ jquery.min.js?ver=3.7.1:2 (anonymous) @ jquery.min.js?ver=3.7.1:2 each @ jquery.min.js?ver=3.7.1:2 each @ jquery.min.js?ver=3.7.1:2 trigger @ jquery.min.js?ver=3.7.1:2 r.onFindVariation @ add-to-cart-variation.min.js?ver=10.3.5:1 dispatch @ jquery.min.js?ver=3.7.1:2 v.handle @ jquery.min.js?ver=3.7.1:2 trigger @ jquery.min.js?ver=3.7.1:2 (anonymous) @ jquery.min.js?ver=3.7.1:2 each @ jquery.min.js?ver=3.7.1:2 each @ jquery.min.js?ver=3.7.1:2 trigger @ jquery.min.js?ver=3.7.1:2 (anonymous) @ add-to-cart-variation.min.js?ver=10.3.5:1 setTimeout r @ add-to-cart-variation.min.js?ver=10.3.5:1 t.fn.wc_variation_form @ add-to-cart-variation.min.js?ver=10.3.5:1 (anonymous) @ add-to-cart-variation.min.js?ver=10.3.5:1 each @ jquery.min.js?ver=3.7.1:2 each @ jquery.min.js?ver=3.7.1:2 (anonymous) @ add-to-cart-variation.min.js?ver=10.3.5:1 e @ jquery.min.js?ver=3.7.1:2 t @ jquery.min.js?ver=3.7.1:2 setTimeout (anonymous) @ jquery.min.js?ver=3.7.1:2 c @ jquery.min.js?ver=3.7.1:2 fireWith @ jquery.min.js?ver=3.7.1:2 fire @ jquery.min.js?ver=3.7.1:2 c @ jquery.min.js?ver=3.7.1:2 fireWith @ jquery.min.js?ver=3.7.1:2 ready @ jquery.min.js?ver=3.7.1:2 P @ jquery.min.js?ver=3.7.1:2

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support forge12marc

    (@forge12marc)

    @homepagehelden

    Thank you for your message. At the moment, none of the reported errors point to any of our scripts. To investigate this properly, we need a bit more information:
    – a link to the affected page
    – details about your environment (theme, active plugins, caching)
    – and, if possible, steps to reproduce the issue.
    Once we have this data, we’ll review the situation immediately.

    Thread Starter homepagehelden

    (@homepagehelden)

    The error occurs once we update your plugin from 2.2.53 to 2.2.54

    This is all the info I can give you: Theme: Divi

    "wordpress": "6.8.3",
    "active-plugins": [
    {
    "name": "Advanced Custom Fields PRO",
    "version": "6.6.2"
    },
    {
    "name": "BBQ Firewall",
    "version": "20250324"
    },
    {
    "name": "CartBounty - Save and recover abandoned carts for WooCommerce",
    "version": "8.9"
    },
    {
    "name": "Cloudflare",
    "version": "4.13.0"
    },
    {
    "name": "de_DE",
    "version": "1.0.2"
    },
    {
    "name": "Disable Application Passwords",
    "version": "2.2"
    },
    {
    "name": "Discount Rules for WooCommerce",
    "version": "2.6.13"
    },
    {
    "name": "Discount Rules PRO 2.0",
    "version": "2.6.9"
    },
    {
    "name": "F4 Salutation Fields for WooCommerce",
    "version": "1.0.19"
    },
    {
    "name": "F4 Shipping Phone and E-Mail for WooCommerce",
    "version": "1.0.19"
    },
    {
    "name": "F4 Simple Checkout Fields for WooCommerce",
    "version": "1.0.15"
    },
    {
    "name": "Fr Custom Payment Gateway Icon for WooCommerce",
    "version": "1.1.2"
    },
    {
    "name": "German Market",
    "version": "3.52"
    },
    {
    "name": "Gravity Forms",
    "version": "2.9.21"
    },
    {
    "name": "Gravity Forms Gutenberg Add-On",
    "version": "1.0-rc-1.4"
    },
    {
    "name": "Gravity Forms User Registration Add-On",
    "version": "5.4.0"
    },
    {
    "name": "Gravity Forms Zero Spam",
    "version": "1.4.6"
    },
    {
    "name": "GTM4WP - A Google Tag Manager (GTM) plugin for WordPress",
    "version": "1.22.1"
    },
    {
    "name": "Klaviyo",
    "version": "3.7.2"
    },
    {
    "name": "Mollie-Zahlungen für WooCommerce",
    "version": "8.1.1"
    },
    {
    "name": "Page-list",
    "version": "5.9"
    },
    {
    "name": "Pixel Manager for WooCommerce (Premium)",
    "version": "1.49.3"
    },
    {
    "name": "Print Invoice & Delivery Notes for WooCommerce",
    "version": "5.8.0"
    },
    {
    "name": "Safe SVG",
    "version": "2.4.0"
    },
    {
    "name": "Sequential Order Numbers for WooCommerce",
    "version": "3.6.3.2"
    },
    {
    "name": "SilentShield – Captcha & Anti-Spam für WordPress (CF7, WPForms, Elementor, WooCommerce)",
    "version": "2.2.53"
    },
    {
    "name": "Two Factor",
    "version": "0.14.1"
    },
    {
    "name": "Usercentrics Cookiebot - Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode",
    "version": "4.6.0"
    },
    {
    "name": "User Role Editor",
    "version": "4.64.5"
    },
    {
    "name": "WebP Express",
    "version": "0.25.9"
    },
    {
    "name": "WooCommerce",
    "version": "10.3.5"
    },
    {
    "name": "WooCommerce.com Update Manager",
    "version": "1.0.3"
    },
    {
    "name": "WooCommerce Coupon Restrictions",
    "version": "2.3.0"
    },
    {
    "name": "WooCommerce Google Product Feed",
    "version": "11.0.25"
    },
    {
    "name": "WooCommerce PayPal Payments",
    "version": "3.3.0"
    },
    {
    "name": "WooCommerce Product Search",
    "version": "6.11.0"
    },
    {
    "name": "Woocommerce Side Cart Premium",
    "version": "3.0"
    },
    {
    "name": "WooCommerce Table Rate Shipping",
    "version": "3.5.8"
    },
    {
    "name": "Woo Essential",
    "version": "3.11"
    },
    {
    "name": "Wordfence Security",
    "version": "8.1.2"
    },
    {
    "name": "WPB Accordion Menu or Category PRO",
    "version": "3.0.9"
    },
    {
    "name": "WPC Variations Radio Buttons for WooCommerce",
    "version": "3.7.2"
    },
    {
    "name": "WP Mail SMTP",
    "version": "4.7.0"
    },
    {
    "name": "WPS Hide Login",
    "version": "1.9.17.2"
    },
    {
    "name": "WPS Limit Login",
    "version": "1.5.9.2"
    },
    {
    "name": "Yoast Duplicate Post",
    "version": "4.5"
    },
    {
    "name": "Yoast SEO",
    "version": "26.3"
    }
    ]
    }
    Plugin Support forge12marc

    (@forge12marc)

    hello @homepagehelden

    Thank you for the additional details and for listing your environment.

    We can confirm that the issue appears after updating our plugin from 2.2.53 to 2.2.54, but the JavaScript errors you shared are thrown inside WooCommerce core scripts (wp-util.min.js and add-to-cart-variation.min.js). Our latest update mainly changes how JavaScript is loaded/optimized, so the most likely cause is a conflict between this new loading strategy and another component in your stack (theme or plugins).

    To properly identify the root cause, we need at least one of the following:
    – access to a staging site where we are allowed to temporarily disable other plugins and caching, or
    – confirmation from your side that the issue still occurs on a clone with only WordPress, Divi, WooCommerce and our plugin active (no other plugins, no caching/minification).
    – a full copy of the site created with Duplicator (including the installer) sent via WeTransfer to info@forge12.com

    If it’s not possible for you to provide a link or a controlled test environment, our options are unfortunately very limited, because we cannot safely reproduce and debug your exact configuration. In that case, the safest short-term workaround is to stay on version 2.2.53 while we try to reproduce a similar setup on our side.

    If you can share a URL or a staging environment, we’ll be happy to investigate this further and adjust our script loading to avoid the conflict.

    Thread Starter homepagehelden

    (@homepagehelden)

    I created a pure WP Installation with Twenty-Twenty-Nineteen, WooCommerce and your Plugin.
    Then I created a Variable Product.
    Thats all you need to reproduce the error.

    I also sent you an email with the local export of this pure installation.

    https://ibb.co/Kxkz6NdF

    Plugin Support forge12marc

    (@forge12marc)

    hello @homepagehelden

    Thank you for providing the clean test installation. We were able to reproduce the issue exactly as you described. The problem has been resolved in version 2.2.55, and the hotfix is already released.
    The error does not occur on all Twenty-themes; our regression tests did not go as far back as Twenty Nineteen, which is why this slipped through.
    We appreciate your assistance in isolating the root cause. If you have any further questions or notice anything else, feel free to reach out.

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

You must be logged in to reply to this topic.