• Resolved Bogdan

    (@bogdanguenther)


    Hi,

    first of all thank you for this plugin!

    I have a problem where a WooCommerce product was accidentally linked to the wrong post. When I try to change or remove the the relationship the product page reloads but again the old (and wrong) relationship is selected:

    https://jumpshare.com/v/ekjU5lLltjTRghN2mNeR

    Can you tell me how to change this?

    Thank you,
    Bogdan

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support dinamiko

    (@dinamiko)

    Hi Bogdan,

    Remove Relationship (and then clicking Save and reload this page) should remove the current relation, if that is not the case, then something is not working correctly.

    Can you please try to connect it to an existing post? to do so just create a new post in the remote site and try to connect it, try it and let me know.

    Thanks,
    Emili

    Thread Starter Bogdan

    (@bogdanguenther)

    Hi Emili,

    Thank you for the reply. I tried already “Remove Relationship” and also to connect to the correct post. But when I hit the save button it jumps back again to the old state.

    This problem occurs only on this post, the other posts and translations work fine.

    Thank you for looking into this,
    Bogdan

    Plugin Support dinamiko

    (@dinamiko)

    Hi Bogdan,

    In that case you can try to delete the relationship manually in <wp_prefix>_multilingual_linked table, you need to find the value of the post id (you can see it in the URL when edit the post), then remove the row in the table that contains this post id value in ml_source_elementid column.

    I recommend you to do a database backup before removing the row, just in case something goes wrong and you need to restore the database.

    Thanks,
    Emili

    Thread Starter Bogdan

    (@bogdanguenther)

    Hi Emili,

    The ID of the post is 138. The problem seemed to be, that there where multiple entries for the same post in the wp_multilingual_linked table:

    https://jumpshare.com/v/21XUEHUTZZ36uanIy2DD

    I deleted them all and afterwards was able to set the correct relationship. Please consider to fix this bug and make the relationship management more reliable.

    Thank you,
    Bogdan

    Thread Starter Bogdan

    (@bogdanguenther)

    Hi Emili,

    I got the same error again with the 770 and 444 IDs:

    https://jumpshare.com/v/OCOt4HOfBFcSKt9JmEr8

    This seems to be a bug that happens sometimes.

    I hope you can fix this.

    Thank you,
    Bogdan

    Plugin Support dinamiko

    (@dinamiko)

    Hi Bogdan,

    We have a similar issue that creates duplicated rows, maybe is related:
    https://github.com/inpsyde/MultilingualPress/issues/308

    Can you explain us here the steps to reproduce the issue?

    We′ll take a look either by creating a new issue or including your feedback to the above.

    Thanks,
    Emili

    Thread Starter Bogdan

    (@bogdanguenther)

    Hi Emili,

    I asked my customer, he says he accidentally connected the wrong posts and then tried to change relationship, but it didn’t work.

    I hope you find the bug ??

    Bogdan

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can not change or remove relationship’ is closed to new replies.