Missing Icons

AI-generated summary

The discussion addresses a bug where icons suddenly stopped displaying on the site, affecting elements like the search bar, side nav, and post tool buttons. ondrej references a recent upgrade to Font Awesome 6, noting that some icons may need manual updates, though common ones like the pencil and magnifying glass should auto-remap. putty expresses concern over generic icons not updating automatically. Firepup650 suggests a cache bypass reload, but colin.mckibben confirms it didn’t help. awesomerobot identifies the issue as related to the Font Awesome Pro plugin, which needed updates for compatibility with a tooling change from Yarn to pnpm. After pushing an update, awesomerobot notes lingering issues with fad-prefixed icons, but by post 13, the icons have returned, with putty confirming the fix and thanking the team for the quick response.

Our site suddenly stopped displaying icons. See the search in the top right, icons in the side nav, and post tool buttons.

You may have to find the font awesome 6 equivalent of v 5 icons. For example shield-alt is now shield-halved

1 Like

I assumed it would be related to that. I could understand some of the more niche icons that need to be updated manually, but I would hope the more generic ones (like pencil for edit, magnifying glass for search, etc.) are automatically updated by the platform.

1 Like

They should be automatically remapped. I can see you’ve got the new icons. Not sure why the :mag: icon isn’t there :thinking:

1 Like

I can see the one for groups, upcoming events and the search icon

1 Like

Try a cache bypass reload?
(Ctrl/CMD + Shift + R)

2 Likes

Cache bypass didn’t work for me. Still missing icons.

Ah you’re using the Font Awesome Pro plugin, yes? I think we might need to update this for compatibility.

4 Likes

Yes, it appears that we are!

3 Likes

We’ll have a fix for this soon!

1 Like

I’ve just pushed an update, but there are still a few lingering icons missing, specifically with the fad prefix for some reason… still investigating

2 Likes

@putty the icons have returned! this ended up being a two-for-one issue where we had to update the icon names in the FontAwesome Pro plugin, and also had to update the plugin for our tooling change from yarn to pnpm

If anyone else ends up encountering this issue, it should be remedied by updating Discourse (which will also pull in the plugin updates).

3 Likes

I can confirm that they are all back! Thank you for the urgency :raised_hands:

4 Likes

A post was merged into an existing topic: Some icons not showing up after upgrade