#1603 - object to string conversion at Driver.php line 31.
You can make this problem go away by adding a condition before your code.
if( is_string($bean->$field) ) <your-code-is-here>
And another question is there a code-level flag to disable logging. Its flooding the logs with mostly useless garbage at the debug level.
Best of Regards Jonas