• I’m using the WP-Optimize plugin to cache the content of my website and I noticed it doesn’t work properly with Uni CPO when trying to access the plugin’s builder.

    My browser’s debugger shows this:

    Uncaught SyntaxError: missing } after function body
        template Underscore
        <anonymous> https://leandroperez.art/wp-content/plugins/uni-woo-custom-product-options/assets/js/builder.js:2412
        <anonymous> https://leandroperez.art/wp-content/plugins/uni-woo-custom-product-options/assets/js/builder.js:4452

    I excluded that file from the cache but still doesn’t work. I also excluded all these JS files:

    /wp-content/plugins/uni-woo-custom-product-options/assets/js/admin-order.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/admin-settings.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/admin-utils.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/builder.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/cart.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/frontend.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/unicpo-managers.js
    /wp-content/plugins/uni-woo-custom-product-options/assets/js/utils.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/chosen/chosen.jquery.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/chosen/ImageSelect.jquery.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/editablegrid/editablegrid_charts.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/editablegrid/editablegrid_editors.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/editablegrid/editablegrid_renderers.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/editablegrid/editablegrid_utils.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/editablegrid/editablegrid_validators.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/editablegrid/editablegrid.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/flatpickr/flatpickr.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/jscrollpane/jquery.jscrollpane.min.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/mousewheel/jquery.mousewheel.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/i18n/en.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/i18n/en.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/base.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/constraint.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/defaults.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/factory.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/field.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/form.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/main.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/multiple.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/pubsub.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/remote.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/ui.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/utils.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/validator_registry.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley/validator.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/vendor/inputevent.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/src/parsley.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/parsley.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/parsleyjs/parsley.min.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/query-builder/query-builder.standalone.min.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/range-slider/ion.rangeSlider.min.js
    /wp-content/plugins/uni-woo-custom-product-options/includes/vendors/repeatable-fields/repeatable-fields.js

    But no luck either.

    Is there any other file I could exclude from being cached? Or maybe there’s another way to solve this issue?

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with minification and WP-Optimize plugin’ is closed to new replies.