Timeline for Sidebar random author spotlight
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 16, 2012 at 1:48 | comment | added | mor7ifer |
That's because user is an object, not a string...I made this pretty clear in my answer. You cannot echo objects. Try print_r( $user ); if you want to see what the object contains.
|
|
Feb 16, 2012 at 1:46 | vote | accept | Keith | ||
Feb 16, 2012 at 1:45 | comment | added | Keith | Thanks for your help. Your query results in an error on a current WP install. i get the error "Catchable fatal error: Object of class stdClass could not be converted to string" when I echo $user. | |
Feb 15, 2012 at 15:47 | history | answered | mor7ifer | CC BY-SA 3.0 |