PDO unbuffered queries in MODX

113 Views Asked by At

There are many line in my MODX error log stating that SQL queries have failed because unbuffered queries are active. The error line is like this:

Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.

I have understood that the default setting is that the queries are buffered in PDO? Can I modify this setting somewhere in MODX?

The site is working quite normally so this is not a severe issue.

0

There are 0 best solutions below