Skip to content
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

executeQuery() #208

Closed
bm1-phillip opened this issue Jan 12, 2024 · 2 comments
Closed

executeQuery() #208

bm1-phillip opened this issue Jan 12, 2024 · 2 comments

Comments

@bm1-phillip
Copy link

bm1-phillip commented Jan 12, 2024

There is an error when I try to open the page settings.

  • TYPO3 11.5.33
  • ke_search: 5.2.1

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined method TYPO3\CMS\Core\Database\Query\QueryBuilder::executeQuery() \| Error thrown in file /var/www/html/public/typo3conf/ext/ke_search/Classes/Backend/Filterlist.php in line 105.

The change of
->executeQuery();
in
->execute();
fixes the error.

@christianbltr
Copy link
Member

When you opened this issue you wrote "TYPO3 11.5.0" which is where the bug appears.

Are you sure it does not work with TYPO3 11.5.33?

I could reproduce the issue in TYPO3 11.5.0 but not in 11.5.33.

executeQuery() has been introduce in doctrine/dbal a while ago (see also https://www.doctrine-project.org/2021/03/29/dbal-2.13.html) and works at least with TYPO3 11.5.11.

This version requirement was set in ext_emconf.php but was missing in composer.json, this has now been added.

@bm1-phillip
Copy link
Author

Hi, you can close the ticket. The error occurred due to two previously unnoticed mistakes.

In the composer, a ^ was missing before a ^11. That's why the version. And the SCSS files were moved to Public, and a path was not corrected properly.

Unfortunately, I only figured this out just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants