Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users. Also, please refresh permalinks; you can check this doc: How to refresh WordPress permalinks - HivePress Help Center