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

Elementor 2.1.1 + XML Demo Import Bug #4947

5 tasks done
DeoThemes opened this issue Jul 4, 2018 · 13 comments
5 tasks done

Elementor 2.1.1 + XML Demo Import Bug #4947

DeoThemes opened this issue Jul 4, 2018 · 13 comments


Copy link

@DeoThemes DeoThemes commented Jul 4, 2018

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.


After recent update from version 2.0.16 to 2.1.1 the XML demo content import is broken. It was working well with 2.0.16

Steps to reproduce

  1. Tools > Export
  2. Import to another domain address using One Click Demo Import plugin.
  3. Layout is broken

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.


System Info ```

== Server Environment ==
Operating System: Linux
Software: Apache/2.4.10 (Unix)
MySQL version: 5.7.21
PHP Version: 7.0.19
PHP Max Input Vars: 5000
PHP Max Post Size: 1047527424
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 4.9.6
Site URL:
Home URL:
WP Multisite: No
Max Upload Size: 999 MB
Memory limit: 40M
Permalink Structure: Plain
Language: en-US
Timezone: 0
Debug Mode: Active

== Theme ==
Name: Margin
Version: 1.0.0
Author: DeoThemes
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

== Active Plugins ==
Advanced WordPress Reset
Version: 1.0.1
Author: Younes JFR.

Deo Elementor Extension
	Version: 1.0.1
	Author: DeoThemes

	Version: 2.1.1

One Click Demo Import
	Version: 2.5.0
	Author: ProteusThemes

== Debug ==
Errors: There are no errors to display

Copy link

@bainternet bainternet commented Jul 4, 2018


can you upload the xml?

Also is the native WP importer working for you?

Copy link

@DeoThemes DeoThemes commented Jul 4, 2018

Native WP importer seems to be working fine. So it's the conflict of recent version of Elementor and One Click Demo Import.

Here is the XML:

Copy link

@tomusborne tomusborne commented Jul 4, 2018

I'm also noticing this with our Site Library in GP. When an Elementor site is imported, it's importing the Elementor content without any of the section containers/HTML.

Copy link

@nishant-t nishant-t commented Jul 4, 2018

Facing the exact same issue when importing with One Click Demo Import for the latest version. Tested with 2.0.16 and it works absolutely fine. Normal WordPress Import works fine.

Copy link

@tomusborne tomusborne commented Jul 4, 2018

So what's happening is _elementor_data is coming out of the importer as NULL.

In version 2.0.16, this data has tons of backslashes. In 2.1, those backslashes are gone. That's the only difference I'm seeing when debugging the data so far.

Copy link

@tomusborne tomusborne commented Jul 4, 2018

It did have to do with slashing.

If the metadata is ran through wp_slash(), it works in 2.1. However, this makes it fail in 2.0.16.

@bainternet Any idea what changed here? I'm happy to wp_slash() it, but want to make sure it's a permanent fix and not something I'll have to undo at some point?

Copy link

@bainternet bainternet commented Jul 5, 2018


We are looking at it.

@bainternet bainternet added the bug label Jul 5, 2018
KingYes added a commit that referenced this issue Jul 5, 2018
Import Fix compatibility for admin based imports closes #4947
Copy link

@tomusborne tomusborne commented Jul 5, 2018

That commit fixes the issue. Thanks for looking into this!

Copy link

@SecondLineThemesHQ SecondLineThemesHQ commented Jul 8, 2018

Thanks guys for providing a fix. Any idea when this would be merged into the master branch?
This bug heavily affects any theme that comes with a non-standard import process so it would be much appreciated to see the update out there sooner than later.

Copy link

@pulla pulla commented Dec 13, 2018

I still have the problem. I use the newest elementor and used WordPress import.
But still having a problem. It comes with text not elementor data.

Copy link

@girisagar051 girisagar051 commented Dec 23, 2018

I also have the same problem.The Global settings in the Elementor is not importing with XML file.
Is there any solution regarding this issue??

Copy link

@stylethemes stylethemes commented Feb 3, 2019

I'm facing the same problem here when importing the XML data using the one-click demo import plugin the content do get imported but global elementor settings don't example (custom breakpoints, global colors and global fonts)

is there is fix to this

Copy link

@Gnodesign Gnodesign commented Apr 17, 2020

Did anybody find a fix on this? The content gets imported but the global settings do not get imported. I would appreciate if somebody could provide a solution to this. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants