JS Caching of Borlabs 3 Plugin JS leads to errors in Borlabs 3 JS

[ad_1]

Hello,

we have enabled “JS combining (header)”. We have not enabled “JS minification”.

When having also Borlabs 3 Plugin installed, visiting an as of yet uncached page, accepting Cookies in Borlabs cookie dialogue on that page, deleting all Cookies from the page via the webbrowser and reloading the page, a JS error pops up inside the cached Borlabs 3 JS.

This is the line causing error:

// source --> https://DOMAIN/wp-content/plugins/borlabs-cookie/assets/javascript/borlabs-cookie.min.js?ver=3.1.4 
import {_ as o, a as i, b as n, c as e, d as t, e as s, f as a, g as C, h as l, i as b, j as c, k as d, l as k} from "./consents.BGWtWh24.min.js";

This is the error:

Uncaught SyntaxError: Cannot use import statement outside a module (at 2rn6k.js:2:1)

2rn6k.js is a file inside wp-content/cache/wpfc-minified/g56axe9h

  • This topic was modified 4 hours, 11 minutes ago by vialars. Reason: removed image which did not upload and entered text explaining file location

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer