Fun With Boolean Columns -- MSSQL Laravel Error

There is little to say that has not already been shared in previous issues for this, from 2015/16. Basically, any table I have that has a boolean column (BIT), data cannot be accessed.

The Response content must be a string or object implementing __toString(), “boolean” given.

There are no errors in my PHP log, nor in the DreamFactory logs in storage/logs/**. Unfortunately, I am not directly a PHP developer, so I cannot look into the issue very much myself. However, it seems that this kind of issue is indeed a bug, if it is still happening.

Any ideas how to fix this?

System Details

Windows Server 2016
PHP 7.2.24 (NTS)
MSSQL Server 2016 Developer


It appears that it was not BIT columns as I initially thought, but rather, VARBINARY columns. This is a strange issue to have, but I will be following up with DreamFactory support to see if there is a fix for the issue.