Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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, G. M., birgire, kaiser Dec 2 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.

1 Answer 1

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:

https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage

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.