WordPress.org

Ready to get started?Download WordPress

Forums

Contextual Related Posts
Activating plugin killed my site (3 posts)

  1. Hugh
    Member
    Posted 1 year ago #

    I used installed and activated this plugin and it would not let my site return anything but a white screen. It seems to be a plugin conflict, rather than a conflict with WP core. Are the plugin functions uniquely prefixed?

    All the functions in your Plugin need to have unique names that are different from functions in the WordPress core, other Plugins, and themes. For that reason, it is a good idea to use a unique function name prefix on all of your Plugin's functions. A far superior possibility is to define your Plugin functions inside a class (which also needs to have a unique name).

    from: http://codex.wordpress.org/Writing_a_Plugin#Plugin_Development_Suggestions and http://nacin.com/2010/05/11/in-wordpress-prefix-everything/

    FYI: I am also running: http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/, but I am not sure that this is the conflicting plugin... it would seem that this is a logical place to start asking the question.

    http://wordpress.org/extend/plugins/contextual-related-posts/

  2. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Hugh,

    I think it is because you have both this plugin and YAARP running. Both use a similar related_posts function which could be the reason for the clash.

    I plan on releasing an update that will remove this function.

  3. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I just released 1.7.4 which should fix this

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic