If you try to edit a page with Elementor and it redirects to a 404 error page please follow the steps below.
1. Please go to WP Dashboard > Settings > Permalinks > Permalink Structure > Select Post name. (If the Post name is set already then just click the Save Changes button again. )
2. Please go to WP Dashboard > Elementor > Settings > Switch Editor Loader Method > Enable.