I’m getting the same error, any help would be greatly appreciated. Thanks
Plugin Author
scribu
(@scribu)
More information is necessary:
1) What are the parameters sent to p2p_register_connection_type()?
2) What’s the query that’s causing the warning?
I suggest putting this info into a gist: http://gist.github.com
Thread Starter
gleenk
(@gleenk)
One of these:
$ragioni = new WP_Query( array(
'connected_type' => 'ragioni_to_case',
'connected_items' => get_queried_object_id(),
'nopaging' => true,
) );
if ( $ragioni->have_posts() ) :
...
while ( $ragioni->have_posts() ) : $ragioni->the_post();
...
endwhile; endif;
Thread Starter
gleenk
(@gleenk)
This problem comes also on 3.4 etc… everytime I use “connected_type” and “connected_items” etc.
I already tried by adding “‘connected_direction’ => ‘from’,”
Thread Starter
gleenk
(@gleenk)
I solved the error (there was some missing info in functions.php) but I can’t see connections in the frontend now…