Elementor plugin problem
Lidia Hernández-Tapia writes
I'm the administrator for the CLACLS website (https://clacls.gc.cuny.edu/). I'm having a problem when I try to edit a page using the Elementor plugin, the page is not loading so I can't make any changes. Can you guys help me figure why that is happening? I suspect the issue might have to do with a plugin conflict, but I'm not sure. Please see the attached screenshot with the error message I got.
Looking forward to hearing from you. Thank you in advance.
#2 Updated by Boone Gorges over 1 year ago
- Status changed from New to Reporter Feedback
I'm not able to reproduce a problem. I went to the 'Edit with Elementor' view on one of the site's pages (https://clacls.gc.cuny.edu/wp-admin/post.php?post=633&action=elementor) and the Elementor interface loaded properly after a few seconds.
Could you ask the user whether this is specific to a certain post/page? Detailed steps to reproduce, including URLs, would be helpful.
#4 Updated by Boone Gorges over 1 year ago
Thanks for the additional information. When I access https://clacls.gc.cuny.edu/wp-admin/post.php?post=136&action=elementor it takes more than 10 seconds, but the Elementor interface does eventually appear. The subpages of 'Fellowship' also seem to be working fine, albeit a bit slowly.
#6 Updated by Marilyn Weber over 1 year ago
- File Captura de Pantalla 2021-02-08 a la(s) 13.17.57.png Captura de Pantalla 2021-02-08 a la(s) 13.17.57.png added
- File Captura de Pantalla 2021-02-08 a la(s) 13.16.28.png Captura de Pantalla 2021-02-08 a la(s) 13.16.28.png added
She replies "I followed your instructions and got several error messages in both Safari and Chrome. Please see the attached images for reference. Can you help me fix it in either browser? Not sure how to proceed."
#7 Updated by Boone Gorges over 1 year ago
- Assignee set to Raymond Hoh
Thanks, the screenshots help. Tell the user to try access the Dashboard instead at https://clacls.gc.cuny.edu/wp-admin - not https://clacls.commons.gc.cuny.edu/wp-admin - to see if this makes a difference.
Ray, do you think there's an easy fix for this? I assume Elementor is being inconsistent about the way it's building URLs, so that some are correctly filtered when mapped, and some aren't.
#11 Updated by Raymond Hoh over 1 year ago
- Category name set to WordPress Plugins
- Status changed from Reporter Feedback to Resolved
- Target version set to 1.18.4
Elementor uses an
<iframe> of the post permalink in their editing interface. In #13455, we added Mercator, which helps with mapped domains and also handles redirection from the non-mapped domain to the mapped domain.
Mercator can interfere with the post permalink in the
<iframe> by redirecting to the mapped domain's URL. This can cause cross-origin iframe issues, preventing Elementor's editing interface from showing up.
The good news is Elementor's preview URL can be filtered, so we can add a flag telling Mercator not to use the mapped domain. This is done in https://github.com/cuny-academic-commons/cac/commit/32a1692605a03908fd61e9ec5a555951eb43a6fb.
I've just pushed this as a hotfix to production as well.
I tested both the non-mapped domain and mapped domain for Lidia's site and Elementor's editing interface shows up in both instances.