If Pages Posts gives you the following error at the bottom of your blog:
Fatal error: Call to a member function get_queried_object() on a non-object in /....../wp-includes/admin-bar.php on line 440
and breaks the admin bar when you're logged in, this is the solution:
In "functions.php," insert the following line on line 238:
$wp_query = $GLOBALS['wp_query'];
There should be THREE closing braces } before that line, and TWO closing braces } after the line.
The goal is to have it after the switch() statement that starts on line 138.
After making this change, the admin bar will work, and the error will go away.
This fix is needed as of Pages-posts version 2.1. Hopefully it will be fixed in future releases.