• Resolved joncon62

    (@joncon62)


    I am exporting/importing docs from one site to another using your function. Both have the same themes but after importing I get a lot of block errors

    Block contains unexpected or invalid content

    I am exporting ALL Docs .xml

    What am I doing wrong? I think all the block errors contain media images or links stored on the first site. Does the export/import copy over images or just link to them?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter joncon62

    (@joncon62)

    Further to my info above, if I run the standard wordpress export/import it creates the docs without any block errors.

    Plugin Support Pial

    (@iapial)

    Hi there @joncon62 ,

    Really sorry for the inconvenience you’re facing.

    From what you described, it sounds like the issue might be related to media or links that are still pointing to the original site, but we haven’t been able to reproduce the same problem on our end. To look into this properly, could you please share the exact doc file you’re trying to import? Once we have that, we can test it locally and see what’s actually causing these block errors.

    The default WordPress importer handles media a bit differently, so checking your file will help us figure out whether something is breaking during the export or during the import process.

    Whenever you can, just send over the file and we’ll take a deeper look.

    Thread Starter joncon62

    (@joncon62)

    Hi @iapial, how do I send you the files? I did send them via email, but just realised that goes to a noreply address.

    Plugin Support Pial

    (@iapial)

    Hi @joncon62,

    Thanks for checking in again. Whenever it’s convenient for you, please upload the export file to Google Drive or any other file sharing service and send us the URL here. That will let us download it directly and run a proper test on our side.

    We’ll take a closer look as soon as we have it.

    Thread Starter joncon62

    (@joncon62)

    Thanks for the info. I have 2 files for you to look at, one created using export Doc and one with Doc Category. Both produce block errors.

    https://www.dropbox.com/scl/fo/sc5q03dj3o6ev1haqzygp/ACy7krtFoNWBxr9Tjtlu9Lw?rlkey=7d0usxaycc2uj8ob748ixexf3&dl=0

    Plugin Support Pial

    (@iapial)

    Hi @joncon62,

    Thanks again for sending the files. We’ve reviewed them on our side and have been able to reproduce the issue. Our dev team is now looking into it to identify the exact cause and prepare a fix.

    Sorry for the inconvenience, and we’ll update you as soon as we have more details.

    Plugin Support Pial

    (@iapial)

    Hi @joncon62,

    Really sorry for the delayed response here. Please accept my apologies for the wait. I know this took longer than it should have.

    The good news is that we’ve now fixed the issue causing the Gutenberg block errors during export and import. The fix is already prepared and will be included in our upcoming release very soon.

    In the meantime, you can try our development version to confirm everything works correctly on your side. Please kindly download it from here:
    https://d.pr/f/EAxjZK

    Once you’ve tested it, let me know if the block errors are gone or if anything still looks off. I’ll be happy to follow up.

    Thanks a lot for your patience.

    Thread Starter joncon62

    (@joncon62)

    Hi @iapial, I can confirm your development version now works without creating block errors. However I did find that the process of importing creates duplicate pages rather than overwriting the existing ones. If I run the import again then I get 3 lots of duplicate pages. If I then delete all the documents and run the import again, it asks me if I want to keep or replace duplicate slugs – I was expecting it to ask this the first time round and not after deleting all the docs.

    Plugin Support Amit Paul

    (@paulamit)

    Hi @joncon62

    Thank you for checking the development version and for sharing your detailed feedback — we really appreciate it.

    Our team has reviewed this behavior, and we tested the import process multiple times using both XML and CSV files. When documents already exist, the importer does show a duplicate/replace prompt on the first run, as well as on subsequent imports. We weren’t able to reproduce a case where the prompt appears only after deleting all documents.

    You can see our test here for reference:
    👉 https://d.pr/v/y8fBFv

    Could you please try running the import again after clearing your browser cache, and let us know if the behavior changes? That would help us confirm whether this is cache-related or environment-specific.

    Please feel free to share any additional feedback as well — we’re happy to look into it further.

    Best,

    Plugin Support Pial

    (@iapial)

    Hi @joncon62,

    Just checking back in to see if you had a chance to try the import again after clearing the browser cache, as suggested above.

    If the duplicate prompt behavior is still happening on your end, please let us know. Even a quick note about what you’re seeing would help us narrow this down a bit more. We want to make sure the import flow behaves consistently and doesn’t cause confusion.

    Whenever you have a moment, feel free to update us here and we’ll continue looking into it.

    Thread Starter joncon62

    (@joncon62)

    I have just retried an import in an incognito window and it did ask if I wanted to replace the docs. I then tried again in my normal browser window and it asked there too, so currently I cannot reproduce the problem. You have fixed the original reason for this thread so I will close it. Thanks for your help.

    Plugin Support Pial

    (@iapial)

    Hello again @joncon62 ,

    I’m really glad I could help you with this. Honestly, it was nice working through the issue together, and if anything else comes up later, please don’t hesitate to reach out. We’re always around and happy to help, truly.

    If you don’t mind, I have a small personal favor to ask. It would mean a lot to me if you could take about 30 seconds to leave a 5 star review and share your support experience with me. Feedback like this genuinely helps me understand what’s working and how I can do even better going forward.

    Here’s the link whenever you have a moment
    https://wordpress.org/support/plugin/betterdocs/reviews/#new-post

    Thanks in advance, I really appreciate it. Looking forward to hearing from you again if you ever need anything.

    Have a great day ahead.

Viewing 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.