# Cryptic errors in error log

**URL:** https://meta.discourse.org/t/cryptic-errors-in-error-log/257668
**Category:** Support
**Created:** [March 10, 2023, 5:32am UTC](https://meta.discourse.org/t/cryptic-errors-in-error-log/257668 "2023-03-10T05:32:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [March 10, 2023, 5:32am UTC](https://meta.discourse.org/t/cryptic-errors-in-error-log/257668/1 "2023-03-10T05:32:41Z")

</div>

My error log is being filled up every day with instances of the following warnings

> [PrettyText] Deprecation notice: `whiteList` has been replaced with `allowList` [deprecated since Discourse 2.6.0.beta.4] [removal in Discourse 2.7.0] [deprecation id: discourse.markdown-it.whitelist]

> Deprecation notice: `SiteSetting.enable_personal_messages` has been deprecated. Please use `SiteSetting.personal_message_enabled_groups` instead. (removal in Discourse 3.0) At /var/www/discourse/lib/

> Deprecation notice: `SiteSetting.secure_media` has been deprecated. Please use `SiteSetting.secure_uploads` instead. (removal in Discourse 3.0) At /var/www/discourse/lib/site\_setting\_extension.rb:199

How do I prevent these errors from recurring?

My forum [https://nzarchitecture.net.nz](https://nzarchitecture.net.nz) is running under Discourse 3.1.0.beta2

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [March 10, 2023, 3:29pm UTC](https://meta.discourse.org/t/cryptic-errors-in-error-log/257668/2 "2023-03-10T15:29:19Z")

</div>

Hi Paul 🙂

These are not errors, but rather warnings. They won’t prevent your site or some feature from working.

They may come from Discourse, theme/components or plugins which have parts of code that don’t use new methods or variable names (but the older ones are still working). Nothing to worry about.

Just remember to keep your forum up-to-date from time to time (these messages will go away at some point in the future when the code is updated) 🙂

* * *

edit: it was also a duplicate of [Deprecation notices after upgrading to 2.9.0beta10 - #2 by pfaffman](https://meta.discourse.org/t/deprecation-notices-after-upgrading-to-2-9-0beta10/240475/2)

---

<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 9, 2023, 3:29pm UTC](https://meta.discourse.org/t/cryptic-errors-in-error-log/257668/3 "2023-04-09T15:29:36Z")

</div>

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