Kha there might be two different errors.
If I access the /users page directly I see a blank page and the browser console says TypeError: t is undefined.
That error is usually caused because the value for the "View user list" Flarum permission doesn't match with the value for "View user directory" permission in User Directory, which causes the User Directory to render but the /api/users API endpoint to return a forbidden response.
When I access the /users page from the homepage I see TypeError: t.canEdit is not a function in the console and it seems like the request to /api/users is never made. I'm not sure what might be causing that. It seems like something tries to render a profile card somewhere even though the data isn't loaded.
You say there are also issues on other pages, not only the user directory?