Skip Navigation

[Resolved] can't import types

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by eliseD-2 1 year, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2459489

I have imported all the views and forms from a different website - but I can't import the TYPES info (custom posts/taxonomies/fields) that will make those views and forms work.
When I try to import the Types zip file that I exported from my other site, I get these errors:

Error parsing XML

Error on line 22378: StartTag: invalid element name

Error on line 22378: expected '>'

Error on line 22378: Opening and ending tag mismatch: has line 22377 and unparseable

Error on line 22379: Opening and ending tag mismatch: post_relationship line 22376 and has

Error on line 22380: Opening and ending tag mismatch: type line 22323 and post_relationship

Error on line 22386: Opening and ending tag mismatch: types line 20017 and type

Error on line 22433: StartTag: invalid element name

Error on line 22433: expected '>'

Error on line 22433: Opening and ending tag mismatch: belongs line 22432 and unparseable

Error on line 22434: Opening and ending tag mismatch: post_relationship line 22431 and belongs

Error on line 22435: Opening and ending tag mismatch: type line 22387 and post_relationship

Error on line 22445: Opening and ending tag mismatch: types line 2 and type

Error on line 22446: Extra content at the end of the document

Data not valid

(and nothing at all imports)

can you help?

Thanks!

Elise

#2460443

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me for views and content templates, did you used blocks to build views and content templates or you used legacy views?

In addition to that, Can you please tell me how exactly you are trying to import types and views, are you using normal types import or you are using module manager?

I would like to have debug information that will help us to debug and investigate your issue:
- https://toolset.com/faq/provide-debug-information-faster-support/

#2460523

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/www.musicaltheatreresourcecenter.org","HomeURL":"https:\/\/www.musicaltheatreresourcecenter.org","Version":"6.0.2","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, wp_template_part, wp_global_styles, wp_navigation, et_tb_item, project, cred-form, cred-user-form, wp-types-group, wp-types-user-group, wp-types-term-group, view, view-template, wpa-helper, cred_rel_form, et_theme_builder, et_template, et_header_layout, et_body_layout, et_footer_layout","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, hidden"},"Server":{"jQueryVersion":"3.6.0","PHPVersion":"7.4.30","MySQLVersion":"5.7.23","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"512M","UploadMax":"512M","PostMax":"516M","TimeLimit":"60","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"bluehost-wordpress-plugin\/bluehost-wordpress-plugin.php":{"Name":"Bluehost","PluginURI":"","Version":"2.12.6","Author":"Bluehost","AuthorURI":"https:\/\/www.bluehost.com\/","TextDomain":"bluehost-wordpress-plugin","DomainPath":"\/languages","Network":false,"RequiresWP":"4.7","RequiresPHP":"7.0","UpdateURI":"","Title":"Bluehost","AuthorName":"Bluehost"},"cj-change-howdy\/cj-change-howdy.php":{"Name":"CJ Change Howdy","PluginURI":"http:\/\/www.shibulijack.wordpress.com\/cj-change-howdy","Version":"3.3.1","Author":"Shibu Lijack a.k.a CyberJack","AuthorURI":"http:\/\/shibulijack.wordpress.com\/","TextDomain":"cj-change-howdy","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"CJ Change Howdy","AuthorName":"Shibu Lijack a.k.a CyberJack"},"cred-frontend-editor\/plugin.php":{"Name":"Toolset Forms","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/?utm_source=plugin\u0026utm_medium=gui\u0026utm_campaign=forms#forms","Version":"2.6.13","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-frontend-editor","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Forms","AuthorName":"OnTheGoSystems"},"cybersyn\/cybersyn.php":{"Name":"CyberSEO Lite","PluginURI":"https:\/\/www.cyberseo.net\/cyberseo-lite\/","Version":"7.102","Author":"CyberSEO.net","AuthorURI":"https:\/\/www.cyberseo.net\/","TextDomain":"cybersyn","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"CyberSEO Lite","AuthorName":"CyberSEO.net"},"types-access\/types-access.php":{"Name":"Toolset Access","PluginURI":"http:\/\/toolset.com\/home\/types-access\/?utm_source=accessplugin\u0026utm_campaign=access\u0026utm_medium=release-notes-plugins-list\u0026utm_term=Visit plugin site","Version":"2.8.14","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"types-access","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Access","AuthorName":"OnTheGoSystems"},"types\/wpcf.php":{"Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.4.16","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"wp-views\/wp-views.php":{"Name":"Toolset Views","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.6.3","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"wp-views","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Views","AuthorName":"OnTheGoSystems"}},"mu_plugins":{"endurance-page-cache.php":{"Name":"Endurance Page Cache","PluginURI":"","Version":"2.2","Description":"This cache plugin is primarily for cache purging of the additional layers of cache that may be available on your hosting account.","Author":"Mike Hansen","AuthorURI":"https:\/\/www.mikehansen.me\/","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Endurance Page Cache","AuthorName":"Mike Hansen"},"sso.php":{"Name":"SSO","PluginURI":"","Version":"0.4","Description":"","Author":"Garth Mortensen, Mike Hansen","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"SSO","AuthorName":"Garth Mortensen, Mike Hansen"}},"dropins":[]},"theme":{"Name":"Divi","ThemeURI":null,"Author":"\u003Ca href=\u0022http:\/\/www.elegantthemes.com\u0022\u003EElegant Themes\u003C\/a\u003E","AuthorURI":null,"Template":"Divi","Version":"4.18.0","TextDomain":null,"DomainPath":null},"extra-debug":{"access":{"rules":[],"settings":{"types":{"post":{"mode":"not_managed"},"page":{"mode":"not_managed"},"attachment":{"mode":"not_managed"},"oembed_cache":{"mode":"not_managed"},"user_request":{"mode":"not_managed"},"wp_template":{"mode":"not_managed"},"wp_template_part":{"mode":"not_managed"},"wp_global_styles":{"mode":"not_managed"},"wp_navigation":{"mode":"not_managed"},"et_pb_layout":{"mode":"not_managed"},"et_tb_item":{"mode":"not_managed"},"project":{"mode":"not_managed"},"et_theme_builder":{"mode":"not_managed"},"et_template":{"mode":"not_managed"},"et_header_layout":{"mode":"not_managed"},"et_body_layout":{"mode":"not_managed"},"et_footer_layout":{"mode":"not_managed"}},"tax":[],"third_party":[]}},"types":{"add_resized_images_to_library":0,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"CRED":{"wizard":1,"cache_notice":1,"export_settings":1,"export_custom_fields":1,"autogeneration_email":{"subject":"Welcome new user","body":"[username]Your username is: %cuf_username%[\/username]\\n[nickname]Your nickname is: %cuf_nickname%[\/nickname]\\n[password]Your password is: %cuf_password%[\/password]"},"dont_load_cred_css":1},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"basic","default_wpa_editor":"basic","manage_meta_transient_method":"cron","editing_experience":"classic","views_template_for_contests":"216","views_template_for_stories":"214","views_template_for_theatres":"213","views_template_for_publicdomain":"211","views_template_for_online-musicals":"209","views_template_for_event":"38","views_template_for_member-info":"212","views_template_for_assignment":"168","views_template_for_conference-panelist":"140","views_template_archive_for_submissions-search":"51"},"installer":{"version":"2.6.1","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"https:\/\/wptypes.s3.amazonaws.com\/toolset-bucket-31.json","subscription":{"key":"gGrqOcN9G2","data":{"subscription_type":5740,"expires":null,"status":"4","notes":"","order_id":"268676","hasAutoRenewal":true},"registered_by":1,"site_url":"http:\/\/wp24.temp.domains\/~writiol6\/musicaltheatreresourcecenter"},"last-successful-subscription-fetch":"none"}},"instances":{"\/home1\/writiol6\/public_html\/musicaltheatreresourcecenter\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/home1\/writiol6\/public_html\/musicaltheatreresourcecenter\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"2.6.1","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"],"site_key_nags":[{"repository_id":"toolset","product_name":"Toolset"}]},"delegated":true}}}}}

#2460525

My debug info is now posted.

I created all of my views using legacy views - no blocks or content templates

I am attempting to import types using the normal types import.

I was already able to import my views and forms - but not my types.

#2460531

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really strange, can you please share what Types content you want to export/import and share the admin access details so I can login to your site and check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2461399

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

To import export specific things what if you try to use the "Module Manager" plugin?

Can you tell me with what site you want to export what (post types, custom fields, taxonomies etc..etc) and then to what site you would like to import it?

#2461617

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.