After upgrading to 3.8.1 I am getting the following notice whenever I add a new post or page only. the notice disappears once I save the post or page. (it's only appearing on the dashboard, not on the site).
Notice: Trying to get property of non-object in /home/public/wp-includes/post-template.php on line 29
I have googled extensively but to my frustration, my noob-php-code-fu skills are not yet up to the task of figuring out how to fix this specific instance. I have disabled all plugins; it's not a plugin conflict. However, the error only appears when either Ryu or the Ryu-child theme I am using are activated, so I hoped that support here could help me sort this out. And perhaps other users are seeing this too?