WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. gregowr
    Member
    Posted 1 year 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)

    Thanks!

    http://wordpress.org/extend/plugins/nrelate-related-content/

  2. gregowr
    Member
    Posted 1 year 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