# Rails error when using DiscourseConnect and Wordpress

**URL:** https://meta.discourse.org/t/rails-error-when-using-discourseconnect-and-wordpress/237133
**Category:** Support
**Created:** [August 24, 2022, 9:17pm UTC](https://meta.discourse.org/t/rails-error-when-using-discourseconnect-and-wordpress/237133 "2022-08-24T21:17:01Z")
**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: [August 25, 2022, 6:57am UTC](https://meta.discourse.org/t/rails-error-when-using-discourseconnect-and-wordpress/237133/2 "2022-08-25T06:57:59Z")

</div>

Welcome @Shubh_Bhalla 🙂

I’ve moved your post to a new topic as it’s not clear to me if there’s any connection with the [topic you posted in](https://meta.discourse.org/t/sso-redirect-issues/216011/9).

Could you just confirm a few things for me:

1. Your issue presents as a redirect loop when attempting to use [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) with Discourse and Wordpress via the [WP Discourse](https://github.com/discourse/wp-discourse) plugin. Is that right? If it is, is [WP Discourse](https://github.com/discourse/wp-discourse) the [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) provider?
2. The log you’ve posted seems to be a backtrace from an exception in Discourse. Could you share the exception itself, i.e. not just the backtrace.
3. Assuming 1 is true, what logs do have in [WP Discourse](https://github.com/discourse/wp-discourse)? Please see [WP Discourse logs](https://meta.discourse.org/t/wp-discourse-logging/190745) on how to access them.

---

_[View the full topic](https://meta.discourse.org/t/rails-error-when-using-discourseconnect-and-wordpress/237133)._
