Only Admin users can use plugin?
-
Having an issue with multiple sites on multiple servers since recent update. Admin users can run media cleaner without issue, but all other user roles (even those with exact same permissions as admin) get the “The Rest API is disabled or broken” error. Can confirm everything was working before recent update.
I have turned off every plugin except Media Cleaner and User Role Editor (which has a setting to reset all user roles to WordPress core default, which I’ve done), and still have the problem. WordPress is fully updated, as is your plugin. Running php 7.3+. I’ve re-saved the permalinks, enabled error logging in wp-config.php, and read your support info on the rest api – though I could certainly be overlooking something.
ONLY FOR NON-ADMIN USERS, Chrome inspector console shows two errors:
“Failed to load resource: the server responded with a status of 404 ()” for file path examplesite.com/wp-json/media-cleaner/v1/entries?limit=10&skip=0&filterBy=issues&orderBy=size&order=desc&search=:1
“[NekoError] JsonFetcher examplesite.com/wp-json/media-cleaner/v1/entries?limit=10&skip=0&filterBy=issues&orderBy=size&order=desc&search=:1
Object
body: “{“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method”,”data”:{“status”:404}}”
code: “NO-ROUTE”
error: undefined”I’m sorry to bother you with this, but I’ve tried everything else I can think of and would greatly appreciate your assistance. Thanks in advance!
- The topic ‘Only Admin users can use plugin?’ is closed to new replies.