nrelate Related Content
[resolved] Cant Deactivate/uninstall nrelate (2 posts)

  1. gregowr
    Posted 3 years ago #

    Currently, when I Deactivate nrelate plugin. All my content is deleted.

    When I deactivate nrelate, my posts data (text/body of the posts) is deleted. Only the post headers and footer of my posts shows.

    When I reactive the nrelate plugin, the post bodies show back up.

    Does anyone know why this error could be occurring?

    (I can provide more info if needed)



  2. gregowr
    Posted 3 years ago #

    Nevermind, I figured it out...

    I had this line in my functions.php. It had to be removed before deactivation:

    remove_filter( 'the_content', 'nrelate_related_inject', 10 );remove_filter( 'the_excerpt', 'nrelate_related_inject', 10 );add_filter( 'the_content', 'nrelate_related_inject', 99 );add_filter( 'the_excerpt', 'nrelate_related_inject', 99 );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic