Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: An "el" #canvas must exist in DOM #5

Closed
anardil opened this issue Jul 4, 2016 · 12 comments
Closed

Error: An "el" #canvas must exist in DOM #5

anardil opened this issue Jul 4, 2016 · 12 comments

Comments

@anardil
Copy link

anardil commented Jul 4, 2016

Hello,

I have an error when I drag'n drop an element.
Error: An "el" #canvas must exist in DOM and TypeError: this.el is undefined

So I can't do anything. :(

Can you help me please ?
Thank u.

@andrew-worsfold
Copy link
Contributor

Which version of Tailor are you using?

Tailor filters the page content to add the drag and drop canvas when "tailoring" the page, which suggests that this is a plugin (or possibly theme) conflict. Could you please try deactivating all plugins and then check to see if you get the same problem? If you deactivate all plugins and are still having the problem, try changing to a default theme (e.g., Twenty Sixteen).

Let me know what happens and we'll go from there :)

@mikenolan
Copy link

We're getting this issue with Jetpack enabled.

@andrew-worsfold
Copy link
Contributor

Are you using the latest version of Tailor? Is it only Jetpack that's causing the issue? What other plugins do you have running? Any idea which Jetpack module could be causing the issue?

I'm running Jetpack with no issues, which makes it difficult to troubleshoot from here.

@mikenolan
Copy link

Yes, tried with the latest version too. We've got a whole bunch of Jetpack modules active and haven't yet had a chance to go through them to work out what's causing the issue. It seems to be just Jetpack on our site, though we use quite a few downloaded and bespoke plugins.

@mikenolan
Copy link

Saying that - I see you've just pushed 1.2.7 and we've not tried that yet, just 1.2.6 earlier today.

@andrew-worsfold
Copy link
Contributor

1.2.7 just adds RTL support. This is almost certainly the result of another plugin doing something with the content as that error message suggests that the canvas HTML hasn't been inserted into the page.

Most plugins shouldn't filter the content, but some do. It's just a matter of figuring out which plugin is causing the issue. I can then create a compatibility patch (if appropriate).

@mikenolan
Copy link

So Sharing and Publicize seem to be the offenders from a quick run through (there may be others):

https://jetpack.com/support/publicize/
https://jetpack.com/support/sharing/

There may well be others too. We make fairly extensive use of Sharing but not Publicize.

@andrew-worsfold
Copy link
Contributor

So it works when they are both disabled?

What theme are you using?

I have Jetpack enabled with those features activated and everything's working as expected 😕

screen shot 2016-07-12 at 11 14 31 pm

@mikenolan
Copy link

We have our own theme which is a heavily modified Twenty Twelve, but I've also tested with Twenty Sixteen. We use WordPress Multisite.

@andrew-worsfold
Copy link
Contributor

Have you been able to get Tailor to work at all (i.e., by disabling those two Jackpack modules)?

@mikenolan
Copy link

Yes, that works fine so we're okay to test before we decide whether to use for production, in which case we should be able to put more resources into working out what the problem is.

@andrew-worsfold
Copy link
Contributor

Thanks, Mike. As I'm unable to reproduce this I'll close this issue out. If you do continue to use Tailor and continue to experience the problem, please raise another issue and we'll continue investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants