[wp-testers] stdClass error & Some strange post parent things going on

Paul Robinson pablorobinson at gmail.com
Mon Nov 17 12:15:10 GMT 2008


Hey,

I posted this a little earlier, but it looked like it was only happening on
a specific server. Well it isn't. Any page that is a child causes this
error.

*Catchable fatal error:  Object of class stdClass could not be
converted to string in
/mnt/local/home/blueby/natural-tys.com/wp-admin/includes/template.php
on line 1177*

I've looked at the line in question & it tries to echo out
$post->post_parent but if you print_r the variable you get another
class, which I guess is what is causing the error.

Again it only seems to happen with child pages & this is on the edit
page listing. You know the page that lists all the pages. lol.

Thanks.

Paul.


More information about the wp-testers mailing list