I am building a complex site and using this plugin.
I am using each_connected() to modify $wp_query and p2p_list_posts() to display the results (as described in the wiki).
This works fine on pages with modified queries to archive a single custom post_type, archive.php pages showing a single post_type and even archive-post_type.php pages showing a single post_type.
In fact I have four types of connection linking different post_types together and use each_connected() four times on each page regardless of whether the post_type being queried uses all of them or not. This works on pages as long as I am only querying 1 post_type.
The problem is I have made 'categories' available to all of my post_types and have changed the query on the category.php template page to include all of these. As soon as I am querying more than 1 type of post_type the plugin no longer works. Looking at the $wp_query object being returned it appears that each_connected() has failed to do anything.
I have tried everything I can think of and just can't get p2p_list_posts() to show anything on this category archive page which displays a mixture of post_types.
Please help, I am stumped.