26. August 2012 | 0 Kommentare

Posts 2 Posts – Could not find directions issue

If you just updated the wordpress plugin called Posts 2 Posts and you’re wondering why you get this error message,

 

Warning: Could not find direction(s). in /core/query-post.php on line 16

 

here’s the little but perfectly working solution. Head over to your functions.php and remove the „s“ in the ‚to‘  tag marked below. For me it worked like a charm, if you’re still getting the error let me know.

 

p2p_register_connection_type( array(
‚admin_box‘ => ‚any‘,
‚reciprocal‘ => false,
’name‘ => ‚acts_to_posts‘,
‚from‘ => ‚acts‘,
‚to‘ => ‚posts
) );

 

Tags: , , , ,

Abgelegt in: Allgemein, Wordpress