Tiles Grid: Cannot read property 'replace' of undefined at UGFunctions.stripTags
See original GitHub issueThe default theme works just fine for me, but Tile Grid does not complete initialization of the gallery.
Uncaught TypeError: Cannot read property 'replace' of undefined
at UGFunctions.stripTags (unitegallery.js:2316)
at Object.setHtmlThumb [as funcSetCustomThumbHtml] (unitegallery.js:10798)
at appendHtmlThumbFromItem (unitegallery.js:2555)
at UGThumbsGeneral.setHtmlThumbs (unitegallery.js:2583)
at UGTileDesign.setHtml (unitegallery.js:11466)
at setHtml (unitegallery.js:7266)
at UGThumbsGrid.setHtml (unitegallery.js:8685)
at setHtml (ug-theme-tilesgrid.js:143)
at runTheme (ug-theme-tilesgrid.js:234)
at UGTheme_tilesgrid.run (ug-theme-tilesgrid.js:438)
DOM is straightforward Handlebars output…
<div id="holesGallery">
{{#each galleryImages}}
<img src="{{this.thumb.url}}" data-image="{{this.large.url}}" />
{{/each}}
</div>
JS…
$('#holesGallery').unitegallery({
gallery_theme: "tilesgrid"
});
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
Plain diff
+ * This body can be read by mail clients that do not have HTML email + * capability ... Because PHPMailer +...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Had the same problem and solved it by adding an “alt” attribute to the images.
@vvvmax Is this a bug? More than a year and this issue still happens, in version 1.7.40