WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Contextual Related Posts-Fatal error. (3 posts)

  1. guruaff
    Member
    Posted 2 years ago #

    Hi,This Error below comes after updating the plugin.Please recommend suitable corrections.
    Fatal error: Cannot redeclare related_posts() (previously declared in /home/workfrom/public_html/cabletvtopc.com/wp-content/plugins/contextual-related-posts/contextual-related-posts.php:158) in /home/workfrom/public_html/cabletvtopc.com/wp-content/plugins/yet-another-related-posts-plugin/related-functions.php on line 46

  2. Ajay
    Member
    Posted 2 years ago #

    This is because you have YAARP also activated with Contextual Related Posts.

    You will need to deactivate either YAARP or CRP to prevent this error.

    If you would like to run both plugins, then please delete the function that occurs in line 158 of contextual-related-posts.php

  3. guruaff
    Member
    Posted 2 years ago #

    THANKS

Topic Closed

This topic has been closed to new replies.

About this Topic