My Ubuntu vagrant Laravel Homestead set up has been configured to connect to MSSQL. Randomly it's starting throwing the following error on every query going to the MSSQL database (on a Windows server).
Any ideas? I can't find much info re:this available on Google.
I restarted PHP and confirmed SQLSRV modules are 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 issue report PDO::ATTR_PERSISTENT
is not supported. Also they are reporting problems with PDO::ATTR_ERRMODE
so check your connection for these two parameters.