Okay
  Public Ticket #4544680
PPopups only worksi editor, not on web page.
Closed

Comments

  •  2
    Lars started the conversation

    My LayerSlider popups have suddenly stopped working. The are all correct in editor mode, but when i check the page nothing happens. In console it says that the popup files are missing. But if thatäs so, how can they be ok in the editor?

    Enormously thankful for any help.


    /Lars

  •  2
    Lars replied

    Further research shows that it is WP-optimise update to 4.5.0 that brakes the link to the popups. 

  •  172
    George replied

    Hi Lars,

    Thanks for the update, if this started right after updating WP-Optimize to 4.5.0, then it's very likely a caching / minify / combine issue on the front-end.

    WP-Optimize can optimize (and sometimes rewrite) JS/CSS file loading, and that can break the links to dynamically loaded assets (like the files used by LayerSlider Popups), which would explain why:

    • everything looks fine in the editor (different loading context), but

    • on the public page the browser console complains that popup files are missing.


    What to try first

    1. WP-Optimize → Cache

      • Purge/clear all caches.

       

    2. WP-Optimize → Minify

      • Temporarily disable Minify completely and test the popups again.

      • If that fixes it, re-enable Minify and then:

        • turn off Combine JavaScript files

        • turn off Defer / Delay JavaScript

        • or add LayerSlider scripts to the Exclude list.

         

       

    3. Other caching layers

      • If you use Cloudflare / server cache / another cache plugin, purge those too.

      • Also do a hard refresh in the browser (or test in an incognito/private window).

       

     

    Best Regards,
    George | Kreatura Dev Team

  •  2
    Lars replied

    I think I found the culprit. It seems that a check in "delay js" in the "Delay JavaScript" section of WP-optimize blocked the popups. Unchecking this fixed it also inte new version of WPO.

    Thanks for Your help!

  •  172
    George replied

    Thank you for the feedback.

    Best Regards,
    George | Kreatura Dev Team