Title: [Plugin: Posts 2 Posts] upgrade error: Connection types without a &#039;name&#039; parameter&#8230;.
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] upgrade error: Connection types without a 'name' parameter….

 *  Resolved [Sarah](https://wordpress.org/support/users/designdonewell/)
 * (@designdonewell)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-upgrade-error-connection-types-without-a-name-parameter/)
 * Hi-
 * We just recently upgrade WP and all the plugins.. I’m now getting an error:
 * > Warning: Connection types without a ‘name’ parameter are deprecated. in /nfs/
   > c09/h02/mnt/127917/domains/exploresewickley.com/html/wp-content/plugins/posts-
   > to-posts/core/api.php on line 61
 * I didn’t build this theme, but am maintaining it now… I have no idea how to fix
   this error, if you could help, I’d really appreciate it!
 * [http://www.exploresewickley.com](http://www.exploresewickley.com)
 * thank you
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-upgrade-error-connection-types-without-a-name-parameter/#post-2610359)
 * It’s easy. Just find where the connection type is defined and add a name:
 * [https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage](https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage)
 *  Thread Starter [Sarah](https://wordpress.org/support/users/designdonewell/)
 * (@designdonewell)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-upgrade-error-connection-types-without-a-name-parameter/#post-2610408)
 * Thanks! I’m still confused, however 🙁
 * The person who built this theme modified the p2p code from what you have shown
   in the basic usage:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Is the problem in there? Then there’s no page.php file, but many that are related
   to the other sections of the website..
 * help!
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-upgrade-error-connection-types-without-a-name-parameter/#post-2610417)
 * You only need to modify the p2p_register_connection_type() call.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Posts 2 Posts] upgrade error: Connection types without a 'name'
parameter….’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-upgrade-error-connection-types-without-a-name-parameter/#post-2610417)
 * Status: resolved