Closed ondrej-tuhacek closed 3 months ago
Same here: https://forum.nette.org/cs/36253-prosim-o-otestovani-nette-database-3-2#p227469
Checking the code you can find out that in the master branch its all refactored and possibly fixed (havent tested yet, but soon).
So probable solution would be to wait for a 4.0 release
Version: 3.2.3
Bug Description
Since version 3.2.3 there is this error because the $pdoStatement in ResultSet is now 'readonly' without initial null assignment. Problem appears when you try to begin a transaction, which runs query "::beginTransaction", which in constructor of ResultSet means that the $pdoStatement is never initialized.
Steps To Reproduce
It happens in debug mode (because Tracy ConnectionPanel is calling getRowCount() for beginTransaction())
Expected Behavior
Should begin a transaction, insert some data and commit a transaction
Possible Solution