Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1411831

    After we updated Enfold to the latest version, a black bar appears at the top of the frontend with:
    (function () { // Web Font Loader compatibility (https://github.com/typekit/webfontloader) var modules = { typekit: “https://use.typekit.net”, google: “https://fonts.googleapis.com/” }; var load = function (config) { setTimeout(function () { var a = window.consentApi; // Only when blocker is active if (a) { // Iterate all modules and handle in a single WebFont.load Object.keys(modules).forEach(function (module) { var newConfigWithoutOtherModules = JSON.parse( JSON.stringify(config) ); Object.keys(modules).forEach(function (toRemove) { if (toRemove !== module) { delete newConfigWithoutOtherModules[toRemove]; } }); if (newConfigWithoutOtherModules[module]) { a.unblock(modules[module]).then(function () { var originalLoad = window.WebFont.load; if (originalLoad !== load) { originalLoad(newConfigWithoutOtherModules); } }); } }); } }, 0); }; if (!window.WebFont) { window.WebFont = { load: load }; } })();

    How can we fix it?

    #1411837

    Hey Mikel,

    Could you post a link to where we can see the actual problem please? Also, did you try deactivating all plugins to see if that changes anything?

    Best regards,
    Rikard

    #1411839

    Hi Rikard,

    First of all thanks for the quick reply :)
    The affected website is: http://www.luera1959.de

    I haven’t disabled the plugins yet. They were all there before and I haven’t been able to find any connection between the plugins and this message so far. But I would like to try it right away.

    Maybe another hint:
    When I am logged into the backend, does this message not appear in the frontend?

    Greetings
    Mikel

    #1411842

    Hi, there was or is a problem with the Autoptimize plugin.
    If I disable that, everything goes back to normal.

    Thank you for the helpful tip.

    #1411879

    Hi,

    Great, I’m glad that you found the problem, and thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.