• Resolved Tito Whisky

    (@titowhisky)


    In the google console this error is appearing:
    Uncaught Type Error: e(…) is not a function
    It occurs in the pages where I use slideshow and tiled gallery
    slideshow: https://titowhisky.com/tipos-de-roble/
    tiled gallery: https://titowhisky.com/tour-destilerias-resumen/
    https://titowhisky.com/tour-destilerias-macallan/
    https://titowhisky.com/tour-destilerias-tomatin-glenrothes/
    https://titowhisky.com/tour-destilerias-strathisla-glenfarclas-glenlivet/
    https://titowhisky.com/tour-destilerias-glen-moray-glen-grant-lago-ness/
    https://titowhisky.com/tour-destilerias-glenfiddich-benromach-gordon-macphail/
    https://titowhisky.com/tour-destilerias-glenturret/
    https://titowhisky.com/tour-destilerias-bowmore-ardnahoe-laphroaig-bruichladdich/
    https://titowhisky.com/tour-destilerias-caol-ila-jura-kilchoman/
    https://titowhisky.com/tour-destilerias-arran/
    https://titowhisky.com/tour-destilerias-jameson-tullamore/
    https://titowhisky.com/tour-destilerias-killbeggan-glendalough/
    This error means that the images are not displayed as if they were not using these features, but in the editor
    and in the preview of the page they are seen correctly.
    The error occurs in
    wp-content/plugins/jetpack/_inc/blocks/slideshow/view.js
    wp-content/plugins/jetpack/_inc/blocks/tiled-gallery/view.js
    How can I make the images display correctly?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @titowhisky,

    Thanks for reaching out to us and apologies for the delay.

    How can I make the images display correctly?

    I am having a look at your site’s homepage and I am not seeing any broken images or ones displaying incorrectly as can be seen in my screenshot here: https://d.pr/i/eOxrCY

    I am also not seeing anything wrong with your site’s Jetpack connection as shown here: https://jptools.wordpress.com/debug/?url=https://titowhisky.com/

    Could you please point us to any particular images that are showing up as broken on your site?

    We will be waiting for your update.

    Thread Starter Tito Whisky

    (@titowhisky)

    The images are not broken, what is broken is the gallery mode. In the editing mode of the entry (example: https://titowhisky.com/tour-destilerias-macallan/) the first two photos (in gallery mode the block) are seen next to each other, but when visiting the entry In a browser, they are seen one below the other (as if the gallery mode were not defined) and when inspecting the page in the browser, the mentioned error is observed in the console. It won’t let me upload images to the answer.

    Hi @titowhisky

    I’ve tried to browse your website, but found that you had a country restriction in place, so I wasn’t able to witness what you experienced.

    You can use a free tool such as Imgur.com or Snipboard.io and share with us the URLs here, so we can check them.

    Best,

    Thread Starter Tito Whisky

    (@titowhisky)

    Hello, yes I have blocked some countries to avoid attacks on my website. Tell me from which country you are and I will enable it for 48 hours so you can see the site. I also share the images:

    1. Entry in the editor: https://snipboard.io/Zal9Xj.jpg

    1. Post Preview: https://snipboard.io/uOzdiA.jpg
    2. View in a user’s browser: https://snipboard.io/J1tZmG.jpg
      Thank you.

    Hello @titowhisky

    Thanks for providing the detailed information and the images. My understanding is that the gallery mode is not displaying as expected on the live site, even though it appears fine in the editor and the preview.

    The error message “Uncaught Type Error: e(…) is not a function” is a JavaScript error that usually occurs when a function is expected but was not provided. Given that you’ve mentioned this error occurs in wp-content/plugins/jetpack/_inc/blocks/slideshow/view.js and wp-content/plugins/jetpack/_inc/blocks/tiled-gallery/view.js, it’s possible that there’s a conflict with other code on your site, especially since I’m unable to reproduce the issue on my test site.

    Let’s try some troubleshooting steps to narrow down the cause:

    1. Clear Cache: Sometimes, outdated or corrupted cache can cause issues. Please try clearing your site’s cache if you have any caching plugins or mechanisms in place as well as your browser cache.
    2. Deactivate Other Plugins: There might be a conflict with another plugin. Temporarily deactivate all other plugins and see if the issue persists. If it resolves, reactivate the plugins one by one to identify the conflicting ones. It could also be an issue with the theme. To carry out this test in a way that is non-disruptive to your users, you can use the Health Check plugin. For more information about how to do this, see this support guide.
    3. Update WordPress, Theme, and Plugins: Make sure that your WordPress installation, your theme, and all your plugins are up to date.

    I hope this helps.

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

The topic ‘Uncaught Type Error: e(…) is not a function’ is closed to new replies.