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).
| Comment | File | Size | Author |
|---|---|---|---|
| print_stdclass_variables.patch | 1.42 KB | cthiebault |
Comments
Comment #1
simon georges commentedI don't suppose you wanted to let
'<pre>' . print_r($var, TRUE) . '</pre>';in your patch ;-)Comment #2
bblake commentedI'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?
Comment #3
bblake commentedCan someone please provide a way to replicate that error? What variable will trigger that error?
Comment #4
bblake commented