When I try to deactivate a user, I get an error message, and I see in the browser Developer Tools that the request results in a 404:
The URL
https://OUR_WIKI_DOMAIN/bin/get/XWiki/XWikiUserProfileSheet?outputSyntax=plain&action=disable&userId=xwiki%3AXWiki.USERNAME&csrf=fn7k195qrU8KnFw0Mo96OQ
Buried in the response body (an HTML page) I see the following:
<p class="xwikimessage">The requested page could not be found.</p>
You can <a href="/bin/create/XWiki/XWikiUserProfileSheet" class="force-underline">edit this page</a> to create it.
Has anyone had this, or does anyone know how to fix it?
it seems that for some reason the page XWikiUserProfileSheet was deleted, and it’s responsible for performing such action right now.
You can check by going on https://OUR_WIKI_DOMAIN/bin/view/XWiki/XWikiUserProfileSheet. You can also go to the Administration of your wiki in Extension and try to compute the changes brought to the user profile extension (see also https://extensions.xwiki.org/xwiki/bin/view/Extension/Extension%20Manager%20Application#HComputeChanges)
Thanks! I saw on that page that I apparently deleted it a month ago and I could restore it. No idea what happened there; I’m pretty sure I wouldn’t delete a page like that. But it’s working again now. Thanks!