tpwd / ke_search

Search Extension for TYPO3 Content Management System, including faceting search functions.
https://extensions.typo3.org/extension/ke_search/
GNU General Public License v3.0
7 stars 31 forks source link

executeQuery() #208

Closed bm1-phillip closed 7 months ago

bm1-phillip commented 7 months ago

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

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 commented 7 months ago

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 commented 7 months ago

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.