Project

General

Profile

Actions

Bug #13947

closed

Elementor plugin problem

Added by Marilyn Weber about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Deployment actions:

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

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

Actions
Related to CUNY Academic Commons - Support #15833: Block Editor Preview in ChromeResolvedRaymond Hoh2022-04-06

Actions
Actions #1

Updated by Marilyn Weber about 3 years ago

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

Actions #2

Updated by Boone Gorges about 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.

Actions #3

Updated by Marilyn Weber about 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."

Actions #4

Updated by Boone Gorges about 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.

Actions #5

Updated by Marilyn Weber about 3 years ago

Thanks, Boone! I've asked.

Actions #6

Updated by Marilyn Weber about 3 years 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."

Actions #7

Updated by Boone Gorges about 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.

Actions #8

Updated by Marilyn Weber about 3 years ago

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

Actions #9

Updated by Boone Gorges about 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.

Actions #10

Updated by Raymond Hoh about 3 years ago

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

Updated by Raymond Hoh about 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.

Actions #12

Updated by Raymond Hoh almost 2 years ago

Actions

Also available in: Atom PDF