-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isotope-Update not possible after installation of contao-isotope-stock-bundle 0.1.3 #3
Comments
I got this problem too |
Hi, I just tried to reproduce the error. Can you please give more context? Contao-, PHP-, Isotope- (from and to version), MySQL- and Doctrine-Version? |
Contao: 4.13.50 |
Contao: 4.13.50 |
I still can't reproduce the error. Can you provide the field definitions of your stock, initialStock and maxOrderSize fields? Are the fields empty or already filled? |
Hallo, ich habe es gerade noch einmal nachgestellt... Ausgangssituation: PHP: 8.3.15 Konfiguration stock-bundle: Im Produkttyp ist nur "Bestand" aktiv, "Anfangsbestand" und "Maximale Bestellmenge" nicht. Der Bestand ist bei den Produkten noch nicht gepflegt, also alle Tabellenfelder (maxOrderSize, initialStock, stock) noch "NULL". Aktualisierung auf Isotpe 2.9.6:
Exception in file vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php on line 118An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2014 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. #0 vendor/doctrine/dbal/src/Connection.php(1939): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert() |
I still can't reproduce the error so I have to made a wild guess :) |
Hello, |
@sgei Sounds good. Thanks for testing, I will merge it soon! |
The new release 0.1.4 does not fix this issue. Steffen |
With the installed contao-isotope-stock-bundle it is not possible to run the Isotope-Update. The Database-Migration fails...
Exception in file vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php on line 118An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2014 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.
#0 vendor/doctrine/dbal/src/Connection.php(1939): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
#1 vendor/doctrine/dbal/src/Connection.php(1881): Doctrine\DBAL\Connection->handleDriverException()
#2 vendor/doctrine/dbal/src/Connection.php(1106): Doctrine\DBAL\Connection->convertExceptionDuringQuery()
#3 vendor/heimrichhannot/contao-isotope-stock-bundle/src/Migration/MigrateFieldsSqlMigration.php(76): Doctrine\DBAL\Connection->executeQuery()
#4 vendor/heimrichhannot/contao-isotope-stock-bundle/src/Migration/MigrateFieldsSqlMigration.php(32): HeimrichHannot\IsotopeStockBundle\Migration\MigrateFieldsSqlMigration->migrateFields()
#5 vendor/contao/core-bundle/src/Migration/MigrationCollection.php(47): HeimrichHannot\IsotopeStockBundle\Migration\MigrateFieldsSqlMigration->shouldRun()
#6 vendor/contao/core-bundle/src/Migration/MigrationCollection.php(58): Contao\CoreBundle\Migration\MigrationCollection->getPending()
#7 vendor/contao/core-bundle/src/Command/MigrateCommand.php(262): Contao\CoreBundle\Migration\MigrationCollection->getPendingNames()
#8 vendor/contao/core-bundle/src/Command/MigrateCommand.php(209): Contao\CoreBundle\Command\MigrateCommand->executeMigrations()
The text was updated successfully, but these errors were encountered: