My Ubuntu vagrant Laravel Homestead setup is configured to connect to MSSQL. Randomly, it started throwing the following error on every query that goes into the MSSQL database (on a Windows server).
Any ideas? I can't find much information about re:this on Google.
I restarted PHP and confirmed that the SQLSRV module was loaded.
SQLSTATE[IMSSP]: An unsupported attribute was designated on the PDO object. (SQL: select top 10 * from [orders] where [ordertype] = SO order by [orderdate] desc)
Check this problem report
PDO::ATTR_PERSISTENT
Not supported. They also reported issues withPDO::ATTR_ERRMODE
, so please check the connection of those two parameters.