• Resolved BoutiquePcLanD

    (@pclandofficiel)


    Hello, my site has a display problem with your module, it is not displayed correctly I think there is a conflict with the JS files of your module and my theme!

    How to correct this?

    I had to disable the module for my site to work properly!

    img 1

    img 2

    normal appearance

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Michael K

    (@mikkamp)

    Automattic Happiness Engineer

    Hi there,

    It doesn’t look like the links you posted are accessible. Would you be able to place them on a different image sharing service so we can have a look. You can try using https://snipboard.io/

    If you open up the console in your browser does it show any particular errors/warnings, which could give some additional clues?

    Can you also clarify which theme is it you are using on your site? Have you tried temporarily switching to a different theme, does everything load correctly when that is done?

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    Img1
    Img2

    original site

    f12:


    (index):171 Uncaught ReferenceError: ga is not defined
    at HTMLDocument.<anonymous> ((index):171)
    at i (jquery-1.12.4-wp.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.12.4-wp.js:2)
    at Function.ready (jquery-1.12.4-wp.js:2)
    at HTMLDocument.J (jquery-1.12.4-wp.js:2)

    I have checked logs for the domain, but found no other errors.
    So I suggest checking the mentioned error, it is connected to the Google Analytics and the site code.

    the theme of my site is mediacenter

    Plugin Author Michael K

    (@mikkamp)

    Automattic Happiness Engineer

    Hi,

    Thanks for providing the error. Based on what it’s saying there it looks like it’s trying to run the code which it would normally add in the footer, without having included the code which it would normally add in the header.

    Is it possible that your theme/site has any solution which compresses JavaScript on your page? Or any other solution which might change the order in which JavaScript is loaded on your site?

    I noticed you had WP Rocket running, any chance you have some of the options described here enabled: https://docs.wp-rocket.me/article/108-render-blocking-javascript-and-css-pagespeed

    Does turning that off temporarily make any difference?

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    Hello,

    the problem is present when I activate the options:

    Deferred loading of JS files

    and

    Secure mode for jQuery (recommended)

    In Wprocket!

    Your module also causes a 302 redirect.

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    help

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    Hello, I disabled the module and my site is normal!

    Is there an option in your module that creates a conflict?

    Can you tell me if it is properly configured?

    For information google tags are in the hearder of my site directly writes online code!

    plug 1
    plug 2

    hearder.php

    Plugin Author Michael K

    (@mikkamp)

    Automattic Happiness Engineer

    Hi there,

    The configuration options look fine. Although you mentioned you have the options activated in WP Rocket for deferred loading of JavaScript. This means it will load the JavaScript at different times then expected.

    The error you previously sent “Uncaught ReferenceError: ga is not defined”, seems like it’s happening specifically because the JavaScript is being loaded at different times. The analytics plugin is not compatible with these kind of settings. So you will need to either turn that off or find a way to exclude it for the Analytics code.

    Regarding the Google Tag Manager snippets in the header.php. They generally shouldn’t conflict with the code. Although you can always test by disabling them temporarily to see if that makes any difference.

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    Hello,

    I solved the problem without your help!

    I activated the first case and worries solved!

    “Enable standard tracking”

    cordially.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘site display problem with the module’ is closed to new replies.