• Resolved aricmberger

    (@aricmberger)


    Whenever I group JS my videos and image affects all stop working.

    I’ve checked it in console but can’t figure out what is happening.

    With Group JS on:
    JQMIGRATE: Migrate is installed, version 1.4.1 wpsol_0e1d652ae478d634b35207a8ba1ccf78.js:8:531
    ReferenceError: eo is not defined[Learn More] wpsol_0e1d652ae478d634b35207a8ba1ccf78.js:60:233
    Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: call to eval() or related function blocked by CSP. 277703758:112

    With Group JS off:
    JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:542
    ReferenceError: eo is not defined[Learn More] http://www.dannar.us.com:85:233
    Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: call to eval() or related function blocked by CSP. 277703758:112
    Empty string passed to getElementById(). wpsol_bb33093a8d4f68199c4ab6702f3976e4.js:2:24932

    I’d really like to get this working. Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter aricmberger

    (@aricmberger)

    Is there any suggestions for how to fix this? Thank you!

    Plugin Author JoomUnited

    (@joomunited)

    Hi,
    I’m sorry for this late reply.

    You have an error in one of your inline script.
    You can see it in both results, with and without grouping

    ReferenceError: eo is not defined

    .

    The grouping function will encapsulate this error with other scripts of your webpage. This means that the browser will stop evaluating all the scripts that are grouped with this buggy script when it will reach it.

    You should then first try to determine which plugin/theme is throwing this js error. You can deactivate one by one the plugins and reload the page to see if there is still the javascript error in the console.
    Then when you know which plugin generate the error you can fix it and your page should load with WPSOL grouping function activated.

    Best regards

    Thread Starter aricmberger

    (@aricmberger)

    It turned out it wasn’t a plugin. I found the source. Thank you!

    • This reply was modified 7 years, 10 months ago by aricmberger.
    Plugin Author JoomUnited

    (@joomunited)

    Hi,

    I’m glad your issue is addressed!

    If you like the plugin it would be cool to drop us a review, it really helps us especially our support team here. https://ww.wp.xz.cn/support/plugin/wp-speed-of-light/reviews/?filter=5

    Thanks a lot!

    Cheers,

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

The topic ‘Group JS breaking site’ is closed to new replies.