Title: [Plugin: Posts 2 Posts] Call to function error
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] Call to function error

 *  Resolved [brandonferens](https://wordpress.org/support/users/brandonferens/)
 * (@brandonferens)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/)
 * Here is the error that I am getting. This happened upon upgrading from 1.3 to
   1.4.
 * Fatal error: Call to a member function get_object() on a non-object in /home/
   perfects/public_html/inewsource.perfectspacedev.com/wp-content/plugins/posts-
   to-posts/core/directed-type.php on line 132
 * This is happening on a custom post called Articles. Let me know if you would 
   like access to our dev environment so you can check it out yourself.
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/?output_format=md)
2

 *  [dangranata](https://wordpress.org/support/users/dangranata/)
 * (@dangranata)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/page/2/#post-2976220)
 * The latest release – (WP 3.4.1, as noted above). I know get_current_screen is
   a core function and that it’s a relatively new one, but I use it myself, and 
   have never had a problem – which is why it is strange that it’s throwing an error.
   It’s almost like it’s firing before WP functions are loaded, which seems impossible.
 * Note taken about the new thread – sorry!

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/?output_format=md)
2

The topic ‘[Plugin: Posts 2 Posts] Call to function error’ 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/)

 * 16 replies
 * 8 participants
 * Last reply from: [dangranata](https://wordpress.org/support/users/dangranata/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-call-to-function-error/page/2/#post-2976220)
 * Status: resolved