[Resolved] I get an error importing an exported Types data file
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Thank you for contacting Toolset support. It could be a conflict between other 3rd party plugins and Toolset. As a test, temporarily disable all non-Toolset plugins and activate a default theme like Twenty Seventeen. Attempt the export and import process again.
I had to disable all my other plugins and change to the default theme to be able to export a valid .ZIP file.
Nevertheless, I couldn't import it to the online site. I get these list of errors:
Erro ao analisar XML [Error analizing XML]
StartTag: invalid element name
expected '>'
Opening and ending tag mismatch: custom_fields line 1306 and unparseable
Opening and ending tag mismatch: type line 1279 and custom_fields
Opening and ending tag mismatch: types line 1278 and type
Extra content at the end of the document
Dados não são válidos [Data is not valid]
Thanks.
Álvaro
PS: If you want to take a look at the ZIP file, let me know. I posted the Dropbox link here but maybe that's not a good idea… 😉 so I deleted it.
On the online site where you are importing zip file, have you also tried to disable plugins and switch to default theme there as well? Might be some plugin or theme interrupting the import process.
The error seems telling that the xml code tags are not closed or they are mixed up some how. In the extracted ZIP file you should see an XML file. Copy the contents of the XML file and paste them into an XML validator like hidden link and verify that you have a properly formatted XML document, so please check this as well and then we can go ahead to debug further.
After removing above tag, I had successfully import the file and everything worked as expected. Below you will find the modified file that I used to import data successfully, so you can try that: hidden link
The above custom field appears to be coming from some other plugin or theme because Toolset Types custom fields are stored within this tag <_wp_types_group_fields> </_wp_types_group_fields>
Thank you
The forum ‘Types Community Support’ is closed to new topics and replies.