Topic List Previews (TLP)

Thank you for your quick reply. :+1: :100:

After hours of debugging :sweat_smile: , I finally found out that the error is casued by the setting.

Prevent anons from downloading files
Prevent anonymous users from downloading attachments.

The error occur when I enable this setting.

The imagesloaded.js file, which Topic List Previews dynamically loads from
/uploads/default/original/1X/d8ce366bd7aad8f9fc7b26b08aecc855dd6d425c.js, was blocked for anonymous users when the “Prevent anons from downloading files” setting was enabled.
As a result, the browser failed to load the script, causing the preview-edits.gjs component in TLP to malfunction for logged-out visitors.

And the error disappear immediately when I reset back to default.

1 Like

Good to know, thanks!

1 Like

Wanted to make note that I resolved this from not updating but removing old plugins that were still in the app.yml when those plugins were bundled in discourse core.
Removing those also fixed a number of other problems so if anyone comes across weird random issues they should probably remove those plugins.

3 Likes