Skip to content

Internal error with version 0.2.56 #499

Open
@mitelg

Description

@mitelg

hey there 👋

after not updating for a while I tried to install the latest version on shopware/shopware today.
Unfortunately it seems that the new feature introduced with 0.2.55 "analyzeWriteQueries" causes an internal error while checking the code with PHPStan. The same error occurs on 0.2.55 with the enabled config.

Internal error: Internal error: 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. in file
/home/mt/www/5.7dev/tests/Functional/Models/Mail/LogTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: 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. in file
/home/mt/www/5.7dev/tests/Functional/Controllers/Backend/OrderTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Bundle/PluginInstallerBundle/Service/UniqueIdGeneratorTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Bundle/PluginInstallerBundle/Service/PluginInstallerTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Bundle/BenchmarkBundle/Providers/OrdersProviderTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Bundle/StoreFrontBundle/Helper.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Components/Emotion/Preset/PresetLoaderTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Components/Emotion/Preset/PresetInstallerTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Components/Emotion/Preset/EmotionToPresetDataTransformerTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Components/Emotion/Preset/PresetDataSynchronizerTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Components/Migrations/Migrations_Migration1607Test.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Internal error: Internal error: There is already an active transaction in file /home/mt/www/5.7dev/tests/Functional/Components/DependencyInjection/Bridge/DbTest.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.md
Child process error (exit code 1):
Child process error (exit code 1):

Thanks for any advise 🙂
If more information is needed, just let me know 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions