Yii 2.0 Max Queries - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Tuesday, July 4, 2023

Yii 2.0 Max Queries

So, I'm running Yii 2.0.48 on PHP 8.1.20 on a Windows Server using IIS. I'm accessing SQL Server using NTS drivers. All is going well, except the Yii debug toolbar shows SQL queries are erroring (number is in red), even though the queries are executing. The message is "Executed 1 database queries which took 60 ms. Too many queries, allowed count is ." Since the queries ARE executing, this is more of a nuisance than a problem, but curious if anyone else has experienced this problem.

Initially experienced with PHP 8.2, which I found is not supported by Yii. Reverted to 8.1.



source https://stackoverflow.com/questions/76607108/yii-2-0-max-queries

No comments:

Post a Comment