Elementor shows 404 error when trying to edit a publish CPT post and not with draft CPT post
I have created a CPT that I want to edit with Elementor. Now when I try to edit a draft CPT post with Elementor it works fine but when I try to edit that same post after publishing it, Elementor gives a 404 error.
Thanks for any help.