Here is a patch for 2.x version that prints stdclass variables as debug() does instead of having this error:

Recoverable fatal error: Object of class stdClass could not be converted to string in _strongarm_readable() (line 113 of /[...]/sites/all/modules/strongarm/strongarm.admin.inc).
CommentFileSizeAuthor
print_stdclass_variables.patch1.42 KBcthiebault
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Simon Georges’s picture

Status: Needs review » Needs work

I don't suppose you wanted to let '<pre>' . print_r($var, TRUE) . '</pre>'; in your patch ;-)

bblake’s picture

Status: Needs work » Postponed (maintainer needs more info)

I'm having trouble replicating that error, can you give me an example of a variable that is giving the error, and what version of php are you running?

bblake’s picture

Can someone please provide a way to replicate that error? What variable will trigger that error?

bblake’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)