Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Brecht

    (@brechtvds)

    Not sure what’s going wrong here. I haven’t seen that problem before. It’s definitely related to our plugin? Does the error go away if you deactivate Custom Related Posts for a second?

    Thread Starter nataliasha

    (@nataliasha)

    Yes, it’s definitely?related?to Custom Related Posts plugin – https://prnt.sc/cyqIsaJUEOuW so this error will go away?if I turn off the plugin. Maybe I can somehow delete or purge all relations for specific post ID? Maybe through a database?

    Plugin Author Brecht

    (@brechtvds)

    The relations are stored as crp_relations_to and crp_relations_from in the wp_postmeta database table, so you could indeed try removing things there.

    Thread Starter nataliasha

    (@nataliasha)

    The name of the table _postmeta, right? I thought so and removed all crp_relations_to and crp_relations_from entries for the specified post ID, but no luck – when I open my post to edit the relations, it still display the same error

    TypeError: Cannot read properties of undefined (reading ‘permalink’)
    at y (/wp-content/plugins/custom-related-posts/dist/blocks.js?ver=1.7.1:1:4674)

    Any idea? Maybe I can use XML import to clear relation without setting from and to values?

    Plugin Author Brecht

    (@brechtvds)

    That’s the one, yes. Could you send a quick email to [email protected]

    I should be able to get you a beta version to test.

    Thread Starter nataliasha

    (@nataliasha)

    Thank you very much for your help. Sent you a message (the subject is the same as in this topic).

    Plugin Author Brecht

    (@brechtvds)

    I just released version 1.7.2 that includes a fix for this problem (same as the beta version I sent earlier, basically)!

    Do let me know if you experience any further issues at all.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot read properties of undefined (reading ‘permalink’)’ is closed to new replies.