Strange repetition in menu items

For some reason, my forum instance is showing duplicate items in the topics menu

I don’t see the same issue on this Discourse Meta instance, so presume whatever is going on is not an intended feature - and it would be good to sort it out.

Could it be an issue specific to the beta software version I am running?

I am running Discourse version 3.4.0 beta 2 + 1019

Any help much appreciated!

Do the additional links also show up in safe mode?

1 Like

Hi @Moin - no, they don’t occur for me in safe mode.

Then the links are added by a plugin or theme component. You can use safe mode to disable only one of the two (e.g. only themes) to find out where to look more closely.

My first thought was Custom Top Navigation Links which by default adds those links. Do you use that component?

1 Like

I dont have the Custom Top Navigation Links plugin, but just tried disabling all the plugins I do have that can be disabled (the ‘BBCode’ plugin has no disable option) - but no resulting change seen to the topics menu when I clear cache & reopen my forum

All but one of the plugins I have are maintained by Discourse themselves

’’

So you had to disable plugins in safe mode to remove the links?

Were they still there when you disabled themes?

Hi - it looks like it is only themes that need to be disabled via safe mode to get rid of the menu duplicates

Then check which components are added to your theme. When looking at the theme at /admin/customize/themes/, you should be able to find the list of components.

1 Like

Thanks @Moin
I only had three theme components available in my case - one of which is ‘Nav Links Component’ which when removed seems to solve the problem!

I don’t know where this component came from, but presume it was not there as part of Discourse default ‘Light’ or ‘Dark’ themes?

And when you click the about link, which is shown at the top, you will be taken to

The component was renamed in summer.

The default light theme does not install any components. I think you could check your staff action logs to find out when the component was added.

3 Likes