# WP Discourse Plugin Error

**URL:** <https://meta.discourse.org/t/wp-discourse-plugin-error/250409>\
**Category:** WordPress\
**Created:** [January 2, 2023, 2:19pm UTC](https://meta.discourse.org/t/wp-discourse-plugin-error/250409 "2023-01-02T14:19:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [January 3, 2023, 9:41pm UTC](https://meta.discourse.org/t/wp-discourse-plugin-error/250409/2 "2023-01-03T21:41:06Z")

</div>

This is related to your setup, as the `Utilities` class does in fact `use` the `PluginUtilities` trait (you can see it in your screenshot there), which is `required` [elsewhere in the plugin](https://github.com/discourse/wp-discourse/blob/main/wp-discourse.php#L42).

Your issue may be that the [WP Discourse](https://github.com/discourse/wp-discourse) plugin is not being loaded properly and you’re attempting to use the `Utilities` class in a code snippet. Do you have any custom code using [WP Discourse](https://github.com/discourse/wp-discourse) `Utilities`? Is the [WP Discourse](https://github.com/discourse/wp-discourse) plugin currently “Activated”?

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-plugin-error/250409)._
