Project

General

Profile

Bug #13947

Elementor plugin problem

Added by Marilyn Weber 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2021-02-05
Due date:
% Done:

0%

Estimated time:

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


Related issues

Related to CUNY Academic Commons - Bug #13455: Switch from WPMU Domain Mapping to MercatorResolved2020-10-10

History

#1 Updated by Marilyn Weber 10 months ago

LMK if you need more info to look at this. Thanks!

#2 Updated by Boone Gorges 10 months 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.

#3 Updated by Marilyn Weber 10 months 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."

#4 Updated by Boone Gorges 10 months 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.

#5 Updated by Marilyn Weber 10 months ago

Thanks, Boone! I've asked.

#6 Updated by Marilyn Weber 10 months ago

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 10 months 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.

#8 Updated by Marilyn Weber 10 months ago

She says that https://clacls.gc.cuny.edu/wp-admin works, hooray!

#9 Updated by Boone Gorges 10 months 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.

#10 Updated by Raymond Hoh 10 months ago

  • Related to Bug #13455: Switch from WPMU Domain Mapping to Mercator added

#11 Updated by Raymond Hoh 10 months 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.

Also available in: Atom PDF