WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just upgraded to the last version of Posts 2 Posts plugin (I have the last WP version too) and I have the following error message on every dashboard page :

« Warning: Connection types without a 'name' parameter are deprecated. in /home/.../wp-content/plugins/posts-to-posts/core/api.php on line 59 »

Plus my website layout is destroyed.

How can I fix this ?

share|improve this question

closed as off-topic by Mark Kaplun, Pieter Goosen, gmazzap, birgire, kaiser Dec 2 '14 at 14:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

You can fix it by adding a 'name' parameter to your p2p_register_connection_type() call, as shown in the wiki:


share|improve this answer
Thanks scribu, that worked (and thanks a lot for maintaining your awesome plugin) – drake035 Jan 21 '12 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.