Bug #13947
closed
Added by Marilyn Weber almost 4 years ago.
Updated almost 4 years ago.
Category name:
WordPress Plugins
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
LMK if you need more info to look at this. Thanks!
- 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.
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."
Thanks, Boone! I've asked.
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."
- 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.
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.
- Related to Bug #13455: Switch from WPMU Domain Mapping to Mercator added
- 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.
Also available in: Atom
PDF