• Resolved cobrains

    (@cobrains)


    I’m currently updating your plugin on my salient theme, but when I update it the website doesn’t load correctly anymore and stop while loading., showing me this error:

    https://bell-group.it/wp-content/uploads/siteground-optimizer-assets/siteground-optimizer-combined-js-f939aeab0d671f830e0c6285ea1bfbca.js
    
    SyntaxError: Unexpected identifier 'PhotoSwipeLightbox'. import call expects exactly one argument.

    please help me

    • This topic was modified 1 year, 7 months ago by cobrains.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Please turn off any “JavaScript optimization” or exlude Photoswipe from that optimization if possible.

    PhotoSwipe 5 uses JavaScript modules and MUST be loaded as a single file and NOT be merged with any other JavaScript files.

    Also keep all source files intact! PhotoSwipe 5 will load other files as modules if needed (and only if needed – not earlier!). So these files must exist as well and must not be removed during “optimization”.

    • This reply was modified 1 year, 7 months ago by Arno Welzel.
    Thread Starter cobrains

    (@cobrains)

    Okay it worked! thank you very much
    have a nice day

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘V 5.0.14 create conflict with salient theme’ is closed to new replies.