• Resolved dev

    (@devksec)


    Hello,

    We’ve been having issues with complianz and LiteSpeed Cache (enterprise with A2 hosting).

    Everything is setup and working with the following settings on our woocommerce store, but not complianz.

    JS Minify (ON)
    JS Combine (ON)
    JS combine external and inline (ON)
    Load JS Deferred (ON)

    complianz doesn’t produce any errors until it is excluded from JS optimisation settings. The issue seems relating to its not being able to edit elements to include placeholders for third-party iframes (youtube/Gmaps)

    Disabling the complianz integrations for these resolves the issues as a work around.

    Any ideas?

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

    (@qtwrk)

    Hi,

    exclusion is the solution to ones that doesn’t work with these features

    Best regards,

    Thread Starter dev

    (@devksec)

    Hello,

    Exclusion doesn’t resolve the issue as it causes the plugin to error, despite being excluded.

    We’ve tested excluding the whole plugin path from all features yet it will breaks. Any ideas on how to get it working?

    Kind Regards

    Thread Starter dev

    (@devksec)

    Oh the error is:

    “ReferenceError: complianz is not defined”.

    This is the other similar post I can find, which is about CSS inline minification in W3TC rather than litespeed. https://wordpress.org/support/topic/w3-cache-minify-issue/

    We’ve excluded the plugin path from both CS/JS /wp-content/plugins/plugins/complianz-gdpr/

    Thread Starter dev

    (@devksec)

    Theres also another with GStatic, that is excluded and hosted externally:

    https://www.gstatic.com/_/mss/boq-payments-consumer/_/js/k=boq-payments-consumer.InstantbuyFrontendBuyflowPayframeU<<Redacted>>

    TypeError: Cannot read properties of undefined (reading 'includes')
        at Gd.j <<Redacted>>
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    first of all , turn off JS combine external and inline (ON) , to narrow down if it’s due to external js file or inline js code

    from your description , it could be inline js code , as exclude the path won’t exclude inline code

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

The topic ‘complianz broken with JS config’ is closed to new replies.