• Hello,

    I have inherited a WordPress site with several issues in it. We use WordPress as a forums, which we use to communicate to other users of our software. The problem occurs when we post XML code and inside the tag bracket we have ‘ID’ it will cause an error
    Valid
    ServiceParts>
    <Item>89017524</Item>
    <ItemIdDescription>FILTER</ItemIdDescription>
    <ItemQuantity>1</ItemQuantity>
    <PartTypeCode>P</PartTypeCode>
    Invalid
    ServiceParts>
    <Item>89017524</Item>
    <ItemIdDescription>FILTER</ItemIdDescription>
    <ItemQuantity>1</ItemQuantity>
    <PartTypeCodeID>P</PartTypeCodeID>

    The database has a join table called “wp_term_relationships” and in that table there is a column called “object_id” the error message is posted in that column. The primary id should actually be posted not the error message.

    object_id term_taxonomy_id term_order
    2014 4 0
    The object_id should actually be 1324 the primary key from a different table.

    I am unsure on what is causing this issue. Any help with be greatly appreciated.

    Thanks.

    [Moderator note: Please don’t bump]

The topic ‘Can't post xml code when using 'ID' in the tag brackets’ is closed to new replies.