Bug #13947
closedElementor plugin problem
0%
Description
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.
Best,
Lidia
Lidia Hernández-Tapia
Files
Related issues
Updated by Marilyn Weber over 3 years ago
LMK if you need more info to look at this. Thanks!
Updated by Boone Gorges over 3 years 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.
Another thing to try is opening the browser's JavaScript console to see if there are errors during the loading process.
Updated by Marilyn Weber over 3 years ago
She writes " the problem with the Elementor plugin occurs when I try to edit the 'Fellowships' page. I don't have the same issue when I edit other pages."
Updated by Boone Gorges over 3 years 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.
Could I ask the user to open the JS console to watch for errors during the loading process? Here's a short primer on how to do this in various browsers. https://support.cytobank.org/hc/en-us/articles/206273618-How-to-open-and-use-your-browser-s-JavaScript-console Note that the console should be open before attempting to load the page; errors will appear through the loading process.
Updated by Marilyn Weber over 3 years 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."
Updated by Boone Gorges over 3 years 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.
Updated by Marilyn Weber over 3 years ago
She says that https://clacls.gc.cuny.edu/wp-admin works, hooray!
Updated by Boone Gorges over 3 years ago
Thanks for confirming! Let's leave the ticket open in case Ray has any ideas about simple things we might do to mitigate this problem.
Updated by Raymond Hoh over 3 years ago
- Related to Bug #13455: Switch from WPMU Domain Mapping to Mercator added
Updated by Raymond Hoh over 3 years 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.
Updated by Raymond Hoh over 2 years ago
- Related to Support #15833: Block Editor Preview in Chrome added