# Reactions plugin: 500 Internal Server Error

**URL:** <https://meta.discourse.org/t/reactions-plugin-500-internal-server-error/242746>\
**Category:** Bug\
**Tags:** reactions\
**Created:** [October 24, 2022, 5:11am UTC](https://meta.discourse.org/t/reactions-plugin-500-internal-server-error/242746 "2022-10-24T05:11:41Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [October 24, 2022, 9:24am UTC](https://meta.discourse.org/t/reactions-plugin-500-internal-server-error/242746/7 "2022-10-24T09:24:43Z")

</div>

Ok finally I think I have a clean repro for this: I think this is happens when the user has reaction in one of the not deleted post in a deleted topic (OP).

Repro:

1. Add reaction to OP and the second post.  

2. Check the **Test1** user `activity/reactions` page it works now as expected  

3. Delete only the topic OP with delete topic button so the second post not deleted.  

4. Check the **Test1** user `activity/reactions` page again drop a 500 error because I think the route is broken.  

5. Un-Delete the topic or delete the post too will recover the `activity/reactions` page.

* * *

It also happens with deleted category if the About the … category topic has reactions. I think because the actual post not deleted.

1. Add a reaction with **Test1** user in the **Test Subcategory** category.  

2. Check the **Test1** user `activity/reactions` page works as expexted  

3. Delete **Test Subcategory** category.

4. Check the **Test1** user `activity/reactions` page again will drop a 500 error because the reaction left on the OP and the route is broken.

---

_[View the full topic](https://meta.discourse.org/t/reactions-plugin-500-internal-server-error/242746)._
