# What to do with deprecation notices?

**URL:** <https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653>\
**Category:** Support\
**Created:** [January 31, 2024, 4:45pm UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653 "2024-01-31T16:45:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)\
**Post date:** [January 31, 2024, 4:45pm UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/1 "2024-01-31T16:45:50Z")

</div>

Why are these notices sent to me? How to proceed?

```plaintext
Deprecation notice: `SiteSetting.min_trust_to_create_tag` has been deprecated. Please use `SiteSetting.create_tag_allowed_groups` instead. (removal in Discourse 3.3) 
At /var/www/discourse/lib/guardian/tag_guardian.rb:12:in `can_create_tag?`

```

```plaintext
Deprecation notice: `SiteSetting.min_trust_to_edit_post` has been deprecated. Please use `SiteSetting.edit_post_allowed_groups` instead. (removal in Discourse 3.3) 
At /var/www/discourse/lib/guardian/post_guardian.rb:375:in `trusted_with_edits?`

```

```plaintext
Deprecation notice: `SiteSetting.min_trust_level_to_allow_ignore` has been deprecated. Please use `SiteSetting.ignore_allowed_groups` instead. (removal in Discourse 3.3) 
At /var/www/discourse/lib/guardian.rb:560:in `can_ignore_users?`

```

---

<div class="post-metadata">

**Author:** ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)\
**Post date:** [January 31, 2024, 6:08pm UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/2 "2024-01-31T18:08:47Z")

</div>

I believe these are caused by:

> [@Changes coming to settings for giving access to features (from trust levels to groups)](https://meta.discourse.org/t/changes-coming-to-settings-for-giving-access-to-features-from-trust-levels-to-groups/283408):
>
> Many features in Discourse rely on a setting to give access by trust level. This has proven to be too inflexible over the years, so we are moving to a new practice of giving access to members of specific groups instead. We will now begin moving existing settings relying on trust levels so they instead rely on groups - see the list below that we are targeting. Some settings will remain trust level based where it makes sense. As we move along we will update the list and add replies here. Do let u…

It doesn’t hurt to ignore them:

> [@SiteSetting.anonymous\_posting min trust level has been deprecated](https://meta.discourse.org/t/sitesetting-anonymous-posting-min-trust-level-has-been-deprecated/283855/3):
>
> It’s a deprecation notice and shouldn’t do any harm. As Arkshine says, it’s connected to the move over to more group-enabled style settings, so you will likely see more as that effort continues. +1

I’m not sure how to turn off the notice. Maybe revert to the default value after checking to make sure the new group-based setting is correct?

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [January 31, 2024, 6:10pm UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/3 "2024-01-31T18:10:01Z")

</div>

Yeah, those deprecation notices you see in the browser console are mainly for developers so you can safely ignore them. 👍

---

<div class="post-metadata">

**Author:** ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)\
**Post date:** [February 1, 2024, 1:15am UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/4 "2024-02-01T01:15:22Z")

</div>

Can I totally ignore it then? I was worried that something would happen

There are these others that I have no idea what they are, I searched here on the forum but I couldn’t find a solution.

`Sidekiq is consuming too much memory (using: 506.27M) for 'dex-forum.com', restarting`

`Detected rogue Sidekiq pid 3831279 mem 525602816, killing`

`Authentication failure! request_error: OAuth::Unauthorized, 403 Forbidden`

```plaintext

```

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0)  
At /var/www/discourse/lib/plugin/instance.rb:573:in `block in register_topic_custom_field_type`

```plaintext

```

---

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [February 1, 2024, 2:20am UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/5 "2024-02-01T02:20:11Z")

</div>

> [@danielabc](#):
>
> Sidekiq is consuming too much memory

See this

> [@Sidekiq is consuming too much memory](https://meta.discourse.org/t/sidekiq-is-consuming-too-much-memory/280933):
>
> Since updating to latest yesterday I’ve been seeing this error in the logs constantly. My server has 8gb of ram and only 60% used. I tried running discourse-setup to reset my settings, which gave me this: setting db\_shared\_buffers = 2048MB setting UNICORN\_WORKERS = 4 Logs: Message (781 copies reported) Sidekiq is consuming too much memory (using: 510.87M) for 'community.naturephotographers.network', restarting Backtrace config/unicorn.conf.rb:164:in `check\_sidekiq\_heartbeat' config/unicorn…

> [@Sidekiq is consuming too much memory even with UNICORN\_SIDEKIQ\_MAX\_RSS adjusted](https://meta.discourse.org/t/sidekiq-is-consuming-too-much-memory-even-with-unicorn-sidekiq-max-rss-adjusted/284010):
>
> Continuing the discussion from [Sidekiq is consuming too much memory, restarting](https://meta.discourse.org/t/sidekiq-is-consuming-too-much-memory-restarting/48395/40): I’ve adjusted the setting and see this in the container: root@ip-10-4-2-52:/# set|grep SIDE UNICORN\_SIDEKIQS=1 UNICORN\_SIDEKIQ\_MAX\_RSS=1000 But I see this in the logs: Sidekiq is consuming too much memory (using: 535.10M) for 'site', restarting It would seem like 535.10M \< 1000, right? I feel like I must have a typo or something else really silly. This is a very busy site with 600-800K pageviews/day with 7 (l…

---

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [February 1, 2024, 2:26am UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/6 "2024-02-01T02:26:44Z")

</div>

> [@danielabc](#):
>
> Can I totally ignore it then?

Yes, you can. 👍

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [April 16, 2024, 10:54am UTC](https://meta.discourse.org/t/what-to-do-with-deprecation-notices/293653/7 "2024-04-16T10:54:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
