Problems with assets - by Ivan Karpushchenko

This topic has 10 replies, 3 voices, and was last updated 4 years, 9 months ago ago by Ivan Karpushchenko

  • Avatar: Ivan Karpushchenko
    Ivan Karpushchenko
    Participant
    February 9, 2021 at 18:36

    HI, the assets on the website are loading with problems.
    For example, we have a static block footer. On one page it can look correct, but on the others, it will not load the elementor generated file with block-specific styles.
    We’ve tried to regenerate static assets in the theme folder, but now it became worse. The generation is returned back to “System Files” only
    You can compare the footer on the homepage and these pages:
    https://thehighsocietyhub.com/how-it-works/
    https://thehighsocietyhub.com/about-us/

    9 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 9, 2021 at 21:14

    Hello,

    Go to Elementor > Settings > change CSS Print type to Internal Embedding https://prnt.sc/yvs694
    Check the footer styles after that.
    Also, go to files generator > Check the Back to top option and generate file again. Clear CDN cache. Because at this moment you have broken styles for the back to top button because you did not include it to theme generated styles.

    Regards

    Avatar: Ivan Karpushchenko
    Ivan Karpushchenko
    Participant
    February 11, 2021 at 07:09

    With Embedding turned on, I have the footer broken on every page.
    The back to top button is now adding some space under the footer. WHat’s going on?
    I can’t even access the customizer to turn off the back to top button.

    You can see the list of errors in the browser console when I am loading the customizer:

    Uncaught TypeError: wp.customize.panel is not a function
        et_show_builder https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/app/models/customizer/builder/js/builder.min.js:1
        et_init https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/app/models/customizer/builder/js/builder.min.js:1
        init https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/app/models/customizer/builder/js/builder.min.js:1
        <anonymous> https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/app/models/customizer/builder/js/builder.min.js:3
        jQuery 13
    builder.min.js:1:526
    Uncaught TypeError: can't access property "each", wp.customize.section is undefined
        <anonymous> https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/packages/kirki/modules/custom-sections/sections.js:1
        jQuery 13
    sections.js:1:35
    Uncaught TypeError: wp.customize.section is not a function
        <anonymous> https://thehighsocietyhub.com/wp-admin/customize.php?return=/wp-admin/admin.php?page=w3tc_general&w3tc_note=preview_enable:1186
        jQuery 13
    customize.php:1186:18
    Uncaught ReferenceError: elementorCommon is not defined
        initTemplatesImport https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/admin.min.js:2
        t https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        onInit https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/admin.min.js:2
        t https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        trigger https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        t https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        init https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        Module https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        child https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        child https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/common-modules.min.js:2
        716 https://thehighsocietyhub.com/wp-content/plugins/elementor/assets/js/admin.min.js:2
        jQuery 13
    admin.min.js:2:17459
    Uncaught TypeError: can't access property "each", wp.customize.control is undefined
        init https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/packages/kirki/modules/field-dependencies/field-dependencies.js:1
        <anonymous> https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/packages/kirki/modules/field-dependencies/field-dependencies.js:24
        jQuery 13
    field-dependencies.js:1:66
    Uncaught TypeError: can't access property "isUndefined", _ is undefined
        <anonymous> https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/packages/kirki/modules/icons/icons.js:1
        jQuery 13
    icons.js:1:51
    Uncaught TypeError: can't access property "each", wp.customize.control is undefined
        <anonymous> https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/packages/kirki/modules/tooltips/tooltip.js:4
        jQuery 13
    tooltip.js:4:1
    Uncaught TypeError: can't access property "each", wp.customize.control is undefined
        <anonymous> https://thehighsocietyhub.com/wp-content/plugins/et-core-plugin/packages/kirki/modules/preset/preset.js:1
        jQuery 13

    The solution for the wrong styles was to remove the generated CSS file. But now the header is still broken. Any ideas?

    The customizer is working fine on the parent theme, but I am sure that it was working before trying to generate the CSS file ( I was editing some shop options the same day )

    Avatar: Ivan Karpushchenko
    Ivan Karpushchenko
    Participant
    February 11, 2021 at 07:10

    Here is access to check the settings

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 11, 2021 at 13:16

    Hello,

    Can’t log in to your Dashboard https://prnt.sc/z39qzh
    Could you, please, unblock access for us?

    Regards

    Avatar: Ivan Karpushchenko
    Ivan Karpushchenko
    Participant
    February 14, 2021 at 09:13

    Hi Olga. I don’t know what happened in these 2 days, but now the footer looks fine. Thanks for helping!

    Avatar: Robert Hall
    Robert Hall
    Participant
    February 14, 2021 at 18:14

    Hi

    We are glad to know that your website is working fine. it might be cache or browser issue !

    Avatar: Ivan Karpushchenko
    Ivan Karpushchenko
    Participant
    February 26, 2021 at 09:43

    Looks like the conflict is with the w3 total cache. I will be happy to have it working with your theme. Do you have any ideas?
    With w3 total cache, I have the footer broken even being logged in!

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 26, 2021 at 14:03

    Hello,

    Try to enable W3 total cache but disable Static Block cache in Theme Options > Speed Optimization. Let me know about the results.

    Regards

    Avatar: Ivan Karpushchenko
    Ivan Karpushchenko
    Participant
    March 1, 2021 at 13:31

    Yes, looks like it is it! Thank you very much, Olga!

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Problems with assets’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.