Add new comment

PDOException: SQLSTATE[HY010]: [Microsoft][ODBC Driver Manager] Function sequence error in C:\inetpub\wwwroot\drupal\drupal-8\core\modules\views\src\Plugin\views\display\DisplayPluginBase.php on line 192

I have given a test drive - and updated because it was broken - the 8.x-1.x branch. I can confirm that this "function sequence error" does occur. I was unable to determine the causes because it did not seem to happen consistently. If you are able to reproduce the issue on a simple test script the guys from the PHP MSSQL driver will be happy to look into it:

https://github.com/Azure/msphpsql/issues

I can confirm that this problem is not happening in the "paid" version of the driver - we are using that on production sites -, but I as previously said I was unable to determine what the cause of the error is.

Looks like the issue starts happening when you enable the Wincache/Supercache module pair. It is probably triggering some weird situation that is uncovering a bug in the PHP PDO driver for SQL Server.