Open kixe opened 5 days ago
Error Object of class stdClass could not be converted to string
https://github.com/processwire/processwire/blob/3cc76cc886a49313b4bfb9a1a904bd88d11b7cb7/wire/templates-admin/debug.inc#L121-L122
Change: https://github.com/processwire/processwire/blob/3cc76cc886a49313b4bfb9a1a904bd88d11b7cb7/wire/templates-admin/debug.inc#L121-L122 to: if(is_array($value) || is_object($value)) $value = print_r($value, true);
if(is_array($value) || is_object($value)) $value = print_r($value, true);
@kixe Thanks, I've pushed a fix for this.
Short description of the issue
Error Object of class stdClass could not be converted to string
https://github.com/processwire/processwire/blob/3cc76cc886a49313b4bfb9a1a904bd88d11b7cb7/wire/templates-admin/debug.inc#L121-L122
Optional: Screenshots/Links that demonstrate the issue
Optional: Suggestion for a possible fix
Change: https://github.com/processwire/processwire/blob/3cc76cc886a49313b4bfb9a1a904bd88d11b7cb7/wire/templates-admin/debug.inc#L121-L122 to:
if(is_array($value) || is_object($value)) $value = print_r($value, true);
Setup/Environment