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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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