• Resolved Ozias

    (@ozias)


    Hello. I have installed and activated WooCommerce Blocks plugin Version 2.2.1 | By Automattic. When activated, the WooCommerce Tabs (found towards bottom of page) incorrectly appear fully expanded when viewing the page in Microsoft Edge 44.18362.1.0, Firefox 68.0.1 but WORK properly when viewing in Google Chrome Version 76.0.3809.100 (only content for tab selected appears).

    In Edge the errors are:
    Unable to get property ‘element’ of undefined or null reference
    autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js (1,1590)
    AND
    Unable to get property ‘mapValues’ of undefined or null reference
    autoptimize_e8d0607aa99fb6ecc15d77ff31f1f742.js (405,3275)

    I excluded plugins/woo-gutenberg-products-block/ but that did not resolve the issue.

    Any assistance is appreciated. Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Ozias

    (@ozias)

    I am incorrect, it is also failing in Chrome with the following errors:

    Uncaught TypeError: Cannot read property ‘element’ of undefined
    at autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1
    at Object.0 (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at i (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at Module.307 (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at i (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at Object.306 (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at i (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at n (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at wc.blocks.frontend.0 (autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1)
    at autoptimize_single_f66835c1153f9e4bc4921d4367a503b9.js?ver=2.2.1:1

    AND

    Uncaught TypeError: Cannot read property ‘mapValues’ of undefined
    at Module.382 (autoptimize_e8d0607aa99fb6ecc15d77ff31f1f742.js:406)
    at r (autoptimize_e8d0607aa99fb6ecc15d77ff31f1f742.js:406)
    at wp.keycodes.1 (autoptimize_e8d0607aa99fb6ecc15d77ff31f1f742.js:406)
    at autoptimize_e8d0607aa99fb6ecc15d77ff31f1f742.js:406

    Thanks.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’ll probably also have to add js/dist and lodash to the comma-separated JS optimization exclusion list.

    frank

    Thread Starter Ozias

    (@ozias)

    This appears to have solved the issue. Thank you for your assistance.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    aside: do take into account that using WordPress blocks on the frontend adds a whole lot of Javascript, which will slow down page loading and page rendering (as the JS has to be interpreted and executed).

    enjoy your weekend!
    frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce Blocks Plugin Issue’ is closed to new replies.