• While i use the exported file from different site to another fresh install site and it generates following errors and menu get imported but they dont show up in the menus section in dashboard also …

    Failed to import post tag
    Failed to import post tag
    Failed to import post tag
    Failed to import post tag
    Failed to import post tag
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Failed to import
    Menu item skipped due to invalid menu slug: secondary-menu
    Menu item skipped due to invalid menu slug: secondary-menu
    Menu item skipped due to invalid menu slug: secondary-menu
    Menu item skipped due to invalid menu slug: secondary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    Menu item skipped due to invalid menu slug: primary-menu
    All done. Have fun!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    There could be any number of reasons for this — DB versions, character sets, corrupted data…

    TBH, I’ve never had much luck with XML imports. I’ve been using SQL export/import with very good success. Access phpMyAdmin for the original site and export the entire WP database. Use the defaults for the SQL file format. Pay attention to where the file goes, it varies by host.

    On phpMAdmin for the new site, drop all existing WP tables, then import the SQL file from the original site. Do not attempt to log into the new site just yet, unless the URL to reach the site is exactly the same as the old, as when the DNS zone file is edited to point the same domain to a new server.

    With a different URL, download and install the Interconnect/IT search and replace tool. Use it to replace all instances of the old URL with the new one. Be sure to use the dry run feature to ensure the search/replace will work as intended. Be sure to delete this tool when finished — its continued presence is a huge security risk.

    If you also copy all of the wp-content/ files over, you will have effectively cloned the old site on a new server.

    Thread Starter cyclopse

    (@cyclopse)

    i cant use that as this xml i am using for the child themes of my client one click demo installer and with the latest version of wp the error start to come …

    Moderator bcworkz

    (@bcworkz)

    Do any of your tag or menu slugs contain characters with diacritical marks? Like à ? ó etc.? That would cause problems. Or even uppercase letters?

    If not, all I can suggest is ensuring the source and target installations are the same versions, including all active plugins and theme, and the DBs have the same charsets.

    Thread Starter cyclopse

    (@cyclopse)

    no nothin like that all same and still it seems wp or importer error ….

    Moderator bcworkz

    (@bcworkz)

    Yeah, importer error, 98% sure. I basically had the same issue, which is why I switched to SQL imports. I see you tried the support forum for wordpress-importer with no response so far.

    It’s coming down to either attempting to debug the problem yourself or trying a different XML importer plugin. There appears to be a few possible candidates in the repository. Good luck!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Import From XML file Giving errors’ is closed to new replies.