Error in browser console when using hashtag autocomplete in the composer: undefined generateIconHTML

I haven’t noticed any issues yet, but I see error messages in the browser console when I use the hashtag autocomplete feature in the composer on my forum.

There are two slightly different versions:

In full safe mode (no themes and no plugins), as soon as I use # in the composer, this error appears:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'generateIconHTML')

If I use safe mode only for themes, so plugins are active, the error above does not appear when I use the hashtag autocomplete. But after I select a category using #, it triggers this error instead:
[autocomplete] handleKeyup: TypeError: this.options.dataSource is not a function

Does anyone have an idea what might be causing this?

2 likes

This one will be fixed by

That one I’m having trouble reproducing :thinking:

2 likes

It might be related to tag translations. I think I noticed this error after trying something with translated tags and found the other one when I tried to reproduce it in safe mode. But it could just as easily be a coincidence. I often find things I didn’t want to test.

Since it still happens after disabling themes, I am quite sure it’s not caused by my customizations. The business plan only allows standard plugins.