Fixed "Requested resource not found" and resource_state field

Affected version


Well-known member
If we're open any default XF code, we can see overriding $error text. For example, for threads, if user can't view thread (because "deleted"/"moderated"), he receives default error reason "The requested thread could not be found":

In XFRM error text doesn't overriden if user can't view resource (because "deleted"/"moderated"), and he receives error reason "You do not have permission to view this page or perform this action":

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFRM release (2.2.2).

Change log:
When a resource is deleted or moderated, show the generic resource not found error text.
There may be a delay before changes are rolled out to the XenForo Community.