# Itens inválidos podem ser adicionados à configuração top\_menu

**URL:** <https://meta.discourse.org/t/invalid-items-can-be-added-to-the-top-menu-setting/80074>\
**Category:** Bug\
**Created:** [Fevereiro 8, 2018, 2:23am UTC](https://meta.discourse.org/t/invalid-items-can-be-added-to-the-top-menu-setting/80074 "2018-02-08T02:23:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [Fevereiro 8, 2018, 2:23am UTC](https://meta.discourse.org/t/invalid-items-can-be-added-to-the-top-menu-setting/80074/1 "2018-02-08T02:23:37Z")

</div>

It is possible to add invalid menu items to the top\_menu setting. If an invalid item is the first item in the `SiteSetting.top_menu` list, the site will broken in a way that can’t be fixed through the UI.

I’m not sure if there’s ever a reason to be able to add custom menu items to the top\_menu list.

 ![07%20PM](https://global.discourse-cdn.com/meta/original/3X/f/8/f88ee8638e66903aeed1748ac70143b98a370911.png)

![34%20PM](https://global.discourse-cdn.com/meta/original/3X/2/9/29ea188e3ceb1e2772d00ae23e9fac328606864a.png)

---

_[View the full topic](https://meta.discourse.org/t/invalid-items-can-be-added-to-the-top-menu-setting/80074)._
