• Resolved ok200

    (@ok200)


    Hello Support.

    I am struggling to import the properties in my XML file.

    The importer is able to see the nodes in the file and also shows them in the “Preview Import” however on trying a full import I am getting the following error:

    “Importing. Unique ID: ( 1 )
    1 – updated?#0.
    Error on single object import: Object import failed. Post cold not be created nor updated, and post_id was not found or created.”

    The “Global Property ID” is set up to pull the unique property ID from my XML file so I am scratching my head as to what the problem is.

    Any help would be greatly appreciated.

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Probably Xpath wrong for your attributes. Provided information is not enough to determine the issue. We provide set up services if you are interested.

    Regards.

    Thread Starter ok200

    (@ok200)

    Thanks for your reply Maria.

    This doesn’t seem right though as the “Preview Import” shows the nodes I have chosen. “Global Property ID” is set to the unique ID for each property in the XML file.

    If the Xpath was wrong for the attributes I have, wouldn’t “Preview Import” not show anything?

    Thanks.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Yes, you are right. But do not have any idea what can be the reason of such message in your case. That need to be investigated directly on your site. We have only paid hourly consulting in such cases.

    Regards.

    Thread Starter ok200

    (@ok200)

    Can you tell me how much this would cost?

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    That could be 1-2 hour. Our prices you could check with Marcus – https://app.hubspot.com/meetings/marcus-smoot

    Thread Starter ok200

    (@ok200)

    I figured out the problem.

    The wp_posts table had corrupted data meaning that there were entries in the wp_postmeta table having a post_id that was not present in wp_posts. Once I had removed all of the orphaned post_id entries in wp_postmeta relating to what the importer had imported, I was able to run the importer agin without problems.

    Thanks.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Thank you for sharing your experience.

    Regards.

    @mariakravchenko We are having a similar issue with the WP Property Importer but the contact form on your website is not working. How can we contact you for support?

    Thanks,
    Van.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    @vdubbervan We have documentation and could give some general suggestions here on this forum. More direct support is paid, you can check with Marcus about that – https://app.hubspot.com/meetings/marcus-smoot

    Regards.

    @mariakravchenko thanks for responding. Do you have an example of how to map the fields to prevent all the XML objects combining into every post?
    We have mapped each individual element but instead of attributing the elements to an object they are being combined. The example below shows 2 property titles (My House and Your House) and you can see the output wants to combine these into 1:


    [post_title] => Array
    (
    [0] => My house
    Your House
    )

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Here is the doc – https://wp-property.github.io/addons/importer/basic-xml-import-step-by-step-for-wp-property-importer.html

    We also have paid set up service. It seems you are putting the wrong XPath to your attributes.

    Regards.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP Property Importer’ is closed to new replies.