In my opinion, this issue occurs due to plugin conflicts.
So first, try deactivating all plugins and check if the issue is solved. If it works, then again activate the plugins one by one to inspect which plugin is creating the problem.
The problem occurs due to the theme as well. Switch to the unedited default theme to check if the theme is causing the issue.
Comment